
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
.. image:: https://travis-ci.org/owtf/http-request-translator.svg?branch=dev :target: https://travis-ci.org/owtf/http-request-translator
HTTP Request Translator is a python standalone tool that will help you translate any raw HTTP requests into the language of your choice.
It supports the following languages:
HTTP Request Translator can be used via its CLI or be imported from your own python project (actively supported version 2.7 and 3.3+).
$ git clone https://github.com/owtf/http-request-translator
$ cd ./http-request-translator/
$ make install
Note: The last step might require root privileges.
HTTP Request Translator provides a complete command line interface (CLI) to make it easy for you to use it.
.. code-block:: bash
usage: hrt [-h] [--language LANGUAGE] [--proxy [PROXY]]
[--search_string SEARCH_STRING | --search_regex SEARCH_REGEX]
[--interactive] [--data DATA]
[--request REQUEST | --file FILE]
Request Translator is a standalone tool that can translate raw HTTP requests
into bash/python/php/ruby scripts
optional arguments:
-h, --help show this help message and exit
--language LANGUAGE, -l LANGUAGE
Generates a script in language 'language' for given
HTTP request. If you want to generate multiple
scripts, separate the script's name with a <,>.
Available languages: bash, php, python, ruby
--proxy [PROXY], -p [PROXY]
Generates command/script with relevant, specified
proxy
--search_string SEARCH_STRING, -ss SEARCH_STRING
Sends the request and searches for the required string
in the response (i.e literal match)
--search_regex SEARCH_REGEX, -se SEARCH_REGEX
Sends the request and searches for the required regex
in the response (i.e regex match)
--interactive, -i Interactive mode: read raw HTTP request from keyboard,
hit enter when ready. Type 'Ctrl+D' or 'Ctrl+C'to exit
from the interactive mode.
--data DATA, -d DATA Add the data that you want to send along with the
header
--request REQUEST, -r REQUEST
Input the HTTP request
--file FILE, -f FILE Input file for HTTP request
FAQs
Translates raw HTTP requests to Python,Ruby,Php and Bash scripts
We found that hrt demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.