/dports/security/peda/peda-1.2/lib/ |
H A D | shellcode.py | 284 def shellcode(self, sctype, port=None, host=None): member in Shellcode 293 shellcode = self.shellcodes[sctype] 297 shellcode = shellcode.replace(b"\x66\x68\x41\x42", b"\x66\x68" + port) 298 shellcode = shellcode.replace(b"\x68\xff\x02\x41\x42", b"\x68\xff\x02" + port) 299 shellcode = shellcode.replace(b"\x68\x7f\x7f\x7f\x7f", b"\x68" + addr) 300 return shellcode 378 shellcode = urlopen("http://api.z3r0d4y.com/index.py?%s\n"%(str(params))).read() 380 shellcode = str(shellcode,encoding='ascii') 381 return '\n"'+shellcode.replace('\n','')+'"\n'
|
H A D | nasm.py | 84 shellcode = [] 93 shellcode += [(sc, "0x"+addr, code)] 95 maxlen = max([len(x[0]) for x in shellcode]) 97 for (sc, addr, code) in shellcode:
|
/dports/security/gef/gef-2021.10/docs/commands/ |
H A D | shellcode.md | 1 ## Command shellcode ## 3 `shellcode` is a command line client for @JonathanSalwan shellcodes database. It 4 can be used to search and download directly via `GEF` the shellcode you're 8 gef➤ shellcode search arm 17 gef➤ shellcode get 698 18 [+] Downloading shellcode id=698
|
/dports/security/py-pyvex/binaries-9.0.5405/tests_src/ |
H A D | call_symbolic.c | 7 char shellcode[500] = {0}; 15 receive(0, shellcode, sizeof(shellcode), NULL); in receive_until2() 21 x(shellcode); in receive_until2()
|
/dports/devel/py-cle/binaries-9.0.5405/tests_src/ |
H A D | call_symbolic.c | 7 char shellcode[500] = {0}; variable 15 receive(0, shellcode, sizeof(shellcode), NULL); in main() 21 x(shellcode); in main()
|
/dports/security/py-angr/binaries-9.0.5405/tests_src/ |
H A D | call_symbolic.c | 7 char shellcode[500] = {0}; variable 15 receive(0, shellcode, sizeof(shellcode), NULL); in main() 21 x(shellcode); in main()
|
/dports/security/py-ailment/binaries-9.0.5405/tests_src/ |
H A D | call_symbolic.c | 7 char shellcode[500] = {0}; variable 15 receive(0, shellcode, sizeof(shellcode), NULL); in main() 21 x(shellcode); in main()
|
/dports/net/nepenthes/nepenthes-0.2.2/modules/shellcode-generic/ |
H A D | sch_generic_linkxor.cpp | 104 unsigned char *shellcode = (unsigned char *)(*msg)->getMsg(); in handleShellcode() local 110 …if( (result = pcre_exec(m_linkDecoder, 0, (char *)shellcode, len, 0, 0, (int *)offvec, sizeof(offv… in handleShellcode() 119 pcre_get_substring((char *)shellcode, (int *)offvec, (int)result, 1, &substring); in handleShellcode() 123 pcre_get_substring((char *)shellcode, (int *)offvec, (int)result, 2, &substring); in handleShellcode() 129 pcre_get_substring((char *)shellcode, (int *)offvec, (int)result, 3, &substring); in handleShellcode() 135 …if ( (realLen = pcre_get_substring((char *)shellcode, (int *)offvec, (int)result, 4, &substring)) … in handleShellcode()
|
H A D | sch_generic_leimbach_url_xor.cpp | 122 unsigned char *shellcode = (unsigned char *)(*msg)->getMsg(); in handleShellcode() local 131 …if((result = pcre_exec((*it)->m_Pcre, 0, (char *) shellcode, len, 0, 0, (int *)output, sizeof(outp… in handleShellcode() 136 preloadSize = pcre_get_substring((char *) shellcode, (int *)output, (int)result, 1, &preload); in handleShellcode() 141 …xordecoderSize = pcre_get_substring((char *) shellcode, (int *)output, (int)result, 2, &xordecoder… in handleShellcode() 150 keysize = pcre_get_substring((char *) shellcode, (int *)output, (int)result, 3, &match); in handleShellcode() 160 codesizeLen = pcre_get_substring((char *) shellcode, (int *)output, (int)result, 4, &match); in handleShellcode() 174 totalsize = pcre_get_substring((char *) shellcode, (int *)output, (int)result, 5, &match); in handleShellcode()
|
H A D | sch_generic_link_trans.cpp | 132 char *shellcode = (*msg)->getMsg(); in handleShellcode() local 138 …if ((matchCount = pcre_exec(m_pcre, 0, (char *) shellcode, len, 0, 0, (int *)ovec, sizeof(ovec)/si… in handleShellcode() 145 pcre_get_substring((char *)shellcode, (int *)ovec, (int)matchCount, 1, &match); in handleShellcode() 150 pcre_get_substring((char *)shellcode, (int *)ovec, (int)matchCount, 2, &match); in handleShellcode() 155 pcre_get_substring((char *)shellcode, (int *)ovec, (int)matchCount, 3, &match); in handleShellcode()
|
H A D | sch_generic_stuttgart.cpp | 126 char *shellcode = (*msg)->getMsg(); in handleShellcode() local 132 …if ((matchCount = pcre_exec(m_stuttgartPattern, 0, (char *) shellcode, len, 0, 0, (int *)ovec, siz… in handleShellcode() 139 pcre_get_substring((char *)shellcode, (int *)ovec, (int)matchCount, 1, &match); in handleShellcode() 144 pcre_get_substring((char *)shellcode, (int *)ovec, (int)matchCount, 2, &match); in handleShellcode() 149 pcre_get_substring((char *)shellcode, (int *)ovec, (int)matchCount, 3, &match); in handleShellcode()
|
H A D | sch_generic_xor.cpp | 230 unsigned char *shellcode = (unsigned char *)(*msg)->getMsg(); in handleShellcode() local 239 …if((result = pcre_exec((*it)->m_Pcre, 0, (char *) shellcode, len, 0, 0, (int *)output, sizeof(outp… in handleShellcode() 244 preloadSize = pcre_get_substring((char *) shellcode, (int *)output, (int)result, 1, &preload); in handleShellcode() 249 …xordecoderSize = pcre_get_substring((char *) shellcode, (int *)output, (int)result, 2, &xordecoder… in handleShellcode() 258 codesizeLen = pcre_get_substring((char *) shellcode, (int *)output, (int)result, 3, &match); in handleShellcode() 293 keysize = pcre_get_substring((char *) shellcode, (int *)output, (int)result, 4, &match); in handleShellcode() 311 totalsize = pcre_get_substring((char *) shellcode, (int *)output, (int)result, 5, &match); in handleShellcode()
|
H A D | sch_generic_wuerzburg.cpp | 127 char *shellcode = (*msg)->getMsg(); in handleShellcode() local 133 …if ((matchCount = pcre_exec(m_wuerzburgPattern, 0, (char *) shellcode, len, 0, 0, (int *)ovec, siz… in handleShellcode() 139 pcre_get_substring((char *)shellcode, (int *)ovec, (int)matchCount, 1, &match); in handleShellcode() 144 pcre_get_substring((char *)shellcode, (int *)ovec, (int)matchCount, 2, &match); in handleShellcode()
|
H A D | sch_generic_bielefeld_connect.cpp | 103 char *shellcode = (*msg)->getMsg(); in handleShellcode() local 114 …if ((iResult = pcre_exec(m_pcre, 0, (char *) shellcode, len, 0, 0, (int *)piOutput, sizeof(piOutpu… in handleShellcode() 122 pcre_get_substring((char *) shellcode, (int *)piOutput, (int)iResult, 1, &match); in handleShellcode() 127 pcre_get_substring((char *) shellcode, (int *)piOutput, (int)iResult, 2, &match); in handleShellcode()
|
H A D | sch_generic_link_bind_trans.cpp | 140 char *shellcode = (*msg)->getMsg(); in handleShellcode() local 146 …if ((matchCount = pcre_exec(m_pcre, 0, (char *) shellcode, len, 0, 0, (int *)ovec, sizeof(ovec)/si… in handleShellcode() 152 pcre_get_substring((char *)shellcode, (int *)ovec, (int)matchCount, 1, &match); in handleShellcode() 157 pcre_get_substring((char *)shellcode, (int *)ovec, (int)matchCount, 2, &match); in handleShellcode()
|
H A D | sch_generic_konstanz_xor.cpp | 98 unsigned char *shellcode = (unsigned char *)(*msg)->getMsg(); in handleShellcode() local 104 …if( (result = pcre_exec(m_konstanzDecoder, 0, (char *)shellcode, len, 0, 0, (int *)offvec, sizeof(… in handleShellcode() 111 pcre_get_substring((char *)shellcode, (int *)offvec, (int)result, 1, &substring); in handleShellcode() 116 payloadSize = pcre_get_substring((char *)shellcode, (int *)offvec, (int)result, 2, &substring); in handleShellcode()
|
H A D | sch_generic_unicode.cpp | 76 unsigned char *shellcode = (unsigned char *)(*msg)->getMsg(); in handleShellcode() local 91 if ( shellcode[i] == 0 ) in handleShellcode() 113 if ( shellcode[i] == 0 ) in handleShellcode() 142 unicodeTryDecode(shellcode, len, &output, &outputLen); in handleShellcode()
|
/dports/net/nepenthes/nepenthes-0.2.2/modules/shellcode-signatures/ |
H A D | sch_namespace_url.cpp | 66 char *shellcode = (*msg)->getMsg(); in handleShellcode() local 73 …if ( (matchCount = pcre_exec(m_Pcre, 0, (char *) shellcode, len, 0, 0, (int *)ovec, sizeof(ovec)/s… in handleShellcode() 75 pcre_get_substring((char *) shellcode, (int *)ovec, (int)matchCount, 1, &match); in handleShellcode()
|
H A D | sch_namespace_bindfiletransfer.cpp | 71 char *shellcode = (*msg)->getMsg(); in handleShellcode() local 86 …if ( (matchCount = pcre_exec(m_Pcre, 0, (char *) shellcode, len, 0, 0, (int *)ovec, sizeof(ovec)/s… in handleShellcode() 88 …if ( (matchCount = pcre_exec(m_Pcre, 0, (char *) shellcode, len, 0, 0, (int *)ovec, sizeof(ovec)/s… in handleShellcode() 100 pcre_get_substring((char *) shellcode, (int *)ovec, (int)matchCount, i, &match); in handleShellcode()
|
H A D | sch_namespace_connectbackshell.cpp | 69 char *shellcode = (*msg)->getMsg(); in handleShellcode() local 92 …if ( (matchCount = pcre_exec(m_Pcre, 0, (char *) shellcode, len, 0, 0, (int *)ovec, sizeof(ovec)/s… in handleShellcode() 94 …if ( (matchCount = pcre_exec(m_Pcre, 0, (char *) shellcode, len, 0, 0, (int *)ovec, sizeof(ovec)/s… in handleShellcode() 106 pcre_get_substring((char *) shellcode, (int *)ovec, (int)matchCount, i, &match); in handleShellcode()
|
H A D | sch_namespace_connectbackfiletransfer.cpp | 70 char *shellcode = (*msg)->getMsg(); in handleShellcode() local 89 …if ( (matchCount = pcre_exec(m_Pcre, 0, (char *) shellcode, len, 0, 0, (int *)ovec, sizeof(ovec)/s… in handleShellcode() 91 …if ( (matchCount = pcre_exec(m_Pcre, 0, (char *) shellcode, len, 0, 0, (int *)ovec, sizeof(ovec)/s… in handleShellcode() 103 pcre_get_substring((char *) shellcode, (int *)ovec, (int)matchCount, i, &match); in handleShellcode()
|
H A D | sch_namespace_bindshell.cpp | 67 char *shellcode = (*msg)->getMsg(); in handleShellcode() local 74 …if ( (matchCount = pcre_exec(m_Pcre, 0, (char *) shellcode, len, 0, 0, (int *)ovec, sizeof(ovec)/s… in handleShellcode() 86 pcre_get_substring((char *) shellcode, (int *)ovec, (int)matchCount, 1, &match); in handleShellcode()
|
H A D | sch_namespace_execute.cpp | 67 char *shellcode = (*msg)->getMsg(); in handleShellcode() local 74 …if ((matchCount = pcre_exec(m_Pcre, 0, (char *) shellcode, len, 0, 0, (int *)ovec, sizeof(ovec)/si… in handleShellcode() 79 pcre_get_substring((char *) shellcode, (int *)ovec, (int)matchCount, 1, &match); in handleShellcode()
|
H A D | sch_engine_unicode.cpp | 81 char *shellcode = (*msg)->getMsg(); in handleShellcode() local 96 if ( shellcode[i] == 0 ) in handleShellcode() 118 if ( shellcode[i] == 0 ) in handleShellcode() 147 unicodeTryDecode((uint8_t *)shellcode, len, &output, &outputLen); in handleShellcode()
|
/dports/security/py-angr/angr-9.0.5405/tests/ |
H A D | test_hook.py | 60 shellcode = b"\x48\x89\x04\x25\x01\x00\x00\x00\xeb\x11\x48\x89\x04\x25\x02\x00\x00\x00\x48" \ 62 proj = angr.load_shellcode(shellcode, arch='amd64') 89 shellcode = b"\x48\x89\x04\x25\x01\x00\x00\x00\xeb\x11\x48\x89\x04\x25\x02\x00\x00\x00\x48" \ 91 proj = angr.load_shellcode(shellcode, arch='amd64')
|