http_request_randomizer.requests.parsers.js package

Submodules

http_request_randomizer.requests.parsers.js.UnPacker module

class http_request_randomizer.requests.parsers.js.UnPacker.JsUnPacker(js_file_url)

Bases: object

It takes the javascript file’s url which contains the port numbers for the encrypted strings. The file has to be unpacked to a readable form just like http://matthewfl.com/unPacker.html does. Then we create a dictionary for every key:port pair.

baseN(num, b, numerals='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ')
get_port(key)
get_ports()
unpack(p, a, c, k, e=None, d=None)

Module contents