AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   How to make orpheu signatures (https://forums.alliedmods.net/showthread.php?t=231744)

deadhead 12-19-2013 15:45

How to make orpheu signatures
 
i was trying to understand how orpheu works but not understand how made this ??
Ex:

Quote:

{
"name" : "Con_Printf",
"library" : "engine",
"arguments" :
[
{
"type" : "char *"
},
{
"type" : "char *"
}
],
"identifiers" :
[
{
"os" : "windows",
"mod" : "cstrike",
"value" : [0x55,0x8B,0xEC,0xB8,"*","*","*","*",0xE8,"*", "*","*","*",0x8B,"*","*",0x8D,"*","*",0x50,0x 51,0x8D,0x95,"*","*","*","*",0x68,"*","*","*" ,"*",0x52,0xE8,"*","*","*","*",0x8D,0x85,"*", "*","*","*",0x50]
},
{
"os" : "linux",
"mod" : "cstrike",
"value" : "Con_Printf"
}
]
}
where did this value come from and how ??

Quote:

"value" : [0x55,0x8B,0xEC,0xB8,"*","*","*","*",0xE8,"*", "*","*","*",0x8B,"*","*",0x8D,"*","*",0x50,0x 51,0x8D,0x95,"*","*","*","*",0x68,"*","*","*" ,"*",0x52,0xE8,"*","*","*","*",0x8D,0x85,"*", "*","*","*",0x50]
Someone help
Any tutorial for learning how to make signatures ?

ConnorMcLeod 12-20-2013 04:09

Re: How to make orpheu signatures
 
There is a tutorial for this.

deadhead 12-20-2013 12:16

Re: How to make orpheu signatures
 
Link please
I searched the forum and did not find any understandable tutorial for beginners

ConnorMcLeod 12-20-2013 13:26

Re: How to make orpheu signatures
 
Orpheu is not for beginners.

joshknifer 12-20-2013 13:54

Re: How to make orpheu signatures
 
http://cdn.memegenerator.net/instanc...x/44048569.jpg

Kia 12-20-2013 15:36

Re: How to make orpheu signatures
 
Quote:

Originally Posted by joshknifer (Post 2074321)

+1

deadhead 12-20-2013 16:45

Re: How to make orpheu signatures
 
i understand rest of the things
I donot get how to make this
Quote:

"value" : [0x55,0x8B,0xEC,0xB8,"*","*","*","*",0xE8,"*", "*","*","*",0x8B,"*","*",0x8D,"*","*",0x5 0,0x 51,0x8D,0x95,"*","*","*","*",0x68,"*","*","*" ,"*",0x52,0xE8,"*","*","*","*",0x8D,0x85," *", "*","*","*",0x50]
I used IDA
Traversed disassembly
now what ?

ConnorMcLeod 12-20-2013 20:06

Re: How to make orpheu signatures
 
https://forums.alliedmods.net/showthread.php?t=147998

Also, you can use only OP code, as stated here : https://forums.alliedmods.net/showth...35#post1972635

Sigs are longer (10 OP codes is enough most of time) but you can't make it wrong.

deadhead 12-23-2013 18:08

Re: How to make orpheu signatures
 
I was following the tutorial but got stuck here
When i decompiled cs_i386.so , it decompiled fine & i found the func

Code:

//----- (000ABB94) --------------------------------------------------------
int __cdecl InstallGameRules()
{
  int result; // eax@2
  int v1; // eax@2
  int v2; // eax@3

  (*(void (__cdecl **)(_DWORD))&g_engfuncs[156])("exec game.cfg\n");
  (*(void (**)(void))&g_engfuncs[160])();
  if ( *(float *)(gpGlobals + 20) == 0.0 )
  {
    v2 = __builtin_new(0x2C4u);
    result = __18CHalfLifeMultiplay(v2);
  }
  else
  {
    v1 = __builtin_new(0x2D8u);
    result = __17CHalfLifeTraining(v1);
  }
  return result;
}

but when i load and decompile mp.dll and Press Ctrl + F5 and save a .C file
only this is present in the result .c file

Code:

//----- (1009C800) --------------------------------------------------------
#error "FFFFFFFF: wrong basic type sizes in compiler settings (funcsize=0)"

//----- (1009CDE0) --------------------------------------------------------
#error "FFFFFFFF: wrong basic type sizes in compiler settings (funcsize=0)"

//----- (1009D490) --------------------------------------------------------
#error "FFFFFFFF: wrong basic type sizes in compiler settings (funcsize=0)"

//----- (1009D520) --------------------------------------------------------
#error "FFFFFFFF: wrong basic type sizes in compiler settings (funcsize=0)"

//----- (1009D5D0) --------------------------------------------------------
#error "FFFFFFFF: wrong basic type sizes in compiler settings (funcsize=0)"

//----- (1009DC50) --------------------------------------------------------
#error "FFFFFFFF: wrong basic type sizes in compiler settings (funcsize=0)"

What am i doing wrong ???

ConnorMcLeod 12-24-2013 04:37

Re: How to make orpheu signatures
 
Quote:

Originally Posted by deadhead (Post 2075609)

What am i doing wrong ???

You read the tutorial wrong.


All times are GMT -4. The time now is 20:32.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.