How to Install and Uninstall device-pharmer Package on Kali Linux

Last updated: May 11,2024

1. Install "device-pharmer" package

In this section, we are going to explain the necessary steps to install device-pharmer on Kali Linux

$ sudo apt update $ sudo apt install device-pharmer

2. Uninstall "device-pharmer" package

Please follow the steps below to uninstall device-pharmer on Kali Linux:

$ sudo apt remove device-pharmer $ sudo apt autoclean && sudo apt autoremove

3. Information about the device-pharmer package on Kali Linux

Package: device-pharmer
Version: 0.1+git20190530-0kali2
Architecture: all
Maintainer: Kali Developers
Installed-Size: 32
Depends: python3, python3-bs4, python3-gevent, python3-mechanize, python3-shodan
Homepage: https://github.com/DanMcInerney/device_pharmer/
Priority: optional
Section: utils
Filename: pool/main/d/device-pharmer/device-pharmer_0.1+git20190530-0kali2_all.deb
Size: 11876
SHA256: a5b6c3c4779094ca43648bc98e1360855c655097e2d16cdc4e438086cc742333
SHA1: e7939b124588a5d84d516db9bd1dfb5ba2f532c6
MD5sum: 7eba2b57cd558085fbf682f3ca62234d
Description: Search Shodan results and test credentials
Concurrently open either Shodan search results, a specified IP, IP range, or
domain and print the status and title of the page if applicable. Add the -u and
-p options to attempt to login to the page first looking for a form login and
failing that, attempt HTTP Basic Auth.
.
Use -f SEARCHSTRING to look for a certain string in the html response in order
to test if authentication succeeded. Logs all devices that respond using either
the Shodan search term or the target IPs/domain + _results.txt. One caveat with
searching the response page's HTML is that some form login pages return a JSON
object response after an authentication request rather than the post-login
page's HTML source. Often you can determine whether or not you were successful
by just using -f "success"
.
Default timeout on the requests is 12 seconds. Sends batches of 1000 requests
concurrently which can be adjust using the -c option. One should note that
Shodan only allows the first page of results (100 hosts) if you are using their
free API key. If you have their professional API key you can specify the number
of search result pages to test with the -n NUMBER_OF_PAGES argument. By default
it will only check page 1.
Description-md5: