Projects STRLCPY geneva Commits be5fac92
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■
    actions/layer.py
    skipped 179 lines
    180 180   value = urllib.parse.unquote(value)
    181 181   
    182 182   value = value.encode('utf-8')
     183 + # Add support for injecting arbitrary protocol payloads if requested
    183 184   dns_payload = b"\x009ib\x81\x80\x00\x01\x00\x01\x00\x00\x00\x01\x08examples\x03com\x00\x00\x01\x00\x01\xc0\x0c\x00\x01\x00\x01\x00\x00\x01+\x00\x04\xc7\xbf2I\x00\x00)\x02\x00\x00\x00\x00\x00\x00\x00"
    184 185   http_payload = b"GET / HTTP/1.1\r\nHost: www.example.com\r\n\r\n"
    185 186   
    skipped 8 lines
    194 195   as a field properly.
    195 196   """
    196 197   load = ''.join([random.choice(string.ascii_lowercase + string.digits) for k in range(10)])
    197  - return random.choice(urllib.parse.quote(load))
     198 + return urllib.parse.quote(load)
    198 199   
    199 200   
    200 201  class IPLayer(Layer):
    skipped 635 lines
Please wait...
Page is in error, reload to recover