Introduction to OSRFramework for penetration testing and intelligent tasks
OSRFramework is a set of libraries to perform Open Source Intelligence tasks. They include references to a bunch of different applications related to username checking, DNS lookups, information leaks research, deep web search, regular expressions extraction, and many others. At the same time, by means of ad-hoc Maltego transforms, OSRFramework provides a way of making these queries graphically as well as several interfaces to interact with like OSRFConsole or a Web interface.
To install the OSRFramework, use the pip package manager. Open the Terminal and enter the following command.
pip install osrframework
It will grab all the library dependencies and install the OSRFramework.
Try running the following command to performs a query on the platforms in OSRFramework.
searchfy.py -q "Leann Wittebron"
If you are receiving an error saying that it cannot find searchfy.py: command not found, check if the given folder is in the PATH with the following command.
echo $PATH
If you cannot find the given folder in the previous output, you can always manually add this folder to your PATH by appending these two lines to your .bashrc
export PY_USER_BIN=$(python -c 'import site; print(site.USER_BASE + "/bin")')
export PATH=$PY_USER_BIN:$PATH
Now run the following command again to search in the platforms. You will be able to see that OSRFramework starts and search for the query.
searchfy.py -q "Leann Wittebron"
You can also try to do it installing the framework as a superuser which would add the scripts to /usr/local/bin/.
Following modules are available in the OSRFramework.
usufy.py
This tool that verifies if a username exists in 249 social platforms.
mailfy.py
This module checks if a username has been registered in up to 22 email providers.
searchfy.py
This module looks for profiles using full names and other info in 7 platforms.
domainfy.py
This module checks the existence of a given domain in up to 879 different TLD.
phonefy.py
This module checks if a phone number has been linked to spam practices in 4 platforms.
entify.py
This module looks for regular expressions using 13 patterns.
Examples
usufy.py -n wittebron -p twitter facebook
searchfy.py -q "wittebron"
mailfy.py -n wittebron
osrfconsole.py
You can launch the GUI based interface on the HTTP server at http://localhost:30230 by using the following command.
osrframework_server.py
To install the OSRFramework, use the pip package manager. Open the Terminal and enter the following command.
pip install osrframework
It will grab all the library dependencies and install the OSRFramework.
Try running the following command to performs a query on the platforms in OSRFramework.
searchfy.py -q "Leann Wittebron"
If you are receiving an error saying that it cannot find searchfy.py: command not found, check if the given folder is in the PATH with the following command.
echo $PATH
If you cannot find the given folder in the previous output, you can always manually add this folder to your PATH by appending these two lines to your .bashrc
export PY_USER_BIN=$(python -c 'import site; print(site.USER_BASE + "/bin")')
export PATH=$PY_USER_BIN:$PATH
Now run the following command again to search in the platforms. You will be able to see that OSRFramework starts and search for the query.
searchfy.py -q "Leann Wittebron"
You can also try to do it installing the framework as a superuser which would add the scripts to /usr/local/bin/.
Following modules are available in the OSRFramework.
usufy.py
This tool that verifies if a username exists in 249 social platforms.
mailfy.py
This module checks if a username has been registered in up to 22 email providers.
searchfy.py
This module looks for profiles using full names and other info in 7 platforms.
domainfy.py
This module checks the existence of a given domain in up to 879 different TLD.
phonefy.py
This module checks if a phone number has been linked to spam practices in 4 platforms.
entify.py
This module looks for regular expressions using 13 patterns.
Examples
usufy.py -n wittebron -p twitter facebook
searchfy.py -q "wittebron"
mailfy.py -n wittebron
osrfconsole.py
You can launch the GUI based interface on the HTTP server at http://localhost:30230 by using the following command.
osrframework_server.py
Comments
Post a Comment