Home
last modified time | relevance | path

Searched refs:shellcode (Results 1 – 25 of 167) sorted by relevance

1234567

/dports/security/peda/peda-1.2/lib/
H A Dshellcode.py284 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 Dnasm.py84 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 Dshellcode.md1 ## 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 Dcall_symbolic.c7 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 Dcall_symbolic.c7 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 Dcall_symbolic.c7 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 Dcall_symbolic.c7 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 Dsch_generic_linkxor.cpp104 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 Dsch_generic_leimbach_url_xor.cpp122 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 Dsch_generic_link_trans.cpp132 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 Dsch_generic_stuttgart.cpp126 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 Dsch_generic_xor.cpp230 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 Dsch_generic_wuerzburg.cpp127 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 Dsch_generic_bielefeld_connect.cpp103 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 Dsch_generic_link_bind_trans.cpp140 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 Dsch_generic_konstanz_xor.cpp98 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 Dsch_generic_unicode.cpp76 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 Dsch_namespace_url.cpp66 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 Dsch_namespace_bindfiletransfer.cpp71 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 Dsch_namespace_connectbackshell.cpp69 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 Dsch_namespace_connectbackfiletransfer.cpp70 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 Dsch_namespace_bindshell.cpp67 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 Dsch_namespace_execute.cpp67 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 Dsch_engine_unicode.cpp81 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 Dtest_hook.py60 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')

1234567