what is BeEf ?
BeEF is short for The Browser Exploitation Framework.
It is a penetration testing tool that focuses on the web browser.
It is a penetration testing tool that focuses on the web browser.
Amid growing concerns about web-borne attacks against clients, including mobile clients, BeEF allows the professional penetration tester to assess the actual security posture of a target environment by using client-side attack vectors. Unlike other security frameworks, BeEF looks past the hardened network perimeter and client system, and examines exploitability within the context of the one open door: the web browser. BeEF will hook one or more web browsers and use them as beachheads for launching directed command modules and further attacks against the system from within the browser context.
How to install BeEf in Termux?
Here is a guide on how you can install BeEf in Termux and start your penetration testing.......
Requirements--------
1. Android Smartphone
2. Termux app or apk
3. A smart brain (Like I have)
Steps to install BeEf in Termux
Step 1---first download the Termux app from play store as shown below.
Step 2--open the Termux app.
Step 3--after that you have to install some packages . For that type the following code in Termux (or you can copy & paste it)...
apt install nano && apt install python && apt install git && apt install python2 && apt install cat
And press Enter
Step 4--Dont do anything just wait until all packages get installed...
Step 5--After the packages are installed type the following code and press enter...
cd $PREFIX/etc/apt
Step 6-- Now type ls (now again press enter)...
there you will see a file named as sources.list
Step 7--Open it by typing the command nano sources.list
Step 8-- Now open a new session and type the command
dpkg -print --architecture to know your device architecture...
Step 9--According to your architecture copy the correct commands from below and paste it in your sources.list file...... Ansd save it......
dpkg -print --architecture to know your device architecture...
Step 9--According to your architecture copy the correct commands from below and paste it in your sources.list file...... Ansd save it......
____________________________________________
____ For aarch64/armv8/armv8l/arm64___
____________________________________________
____ For aarch64/armv8/armv8l/arm64___
____________________________________________
deb [trusted=yes arch=all,aarch64] https://hax4us.github.io/termux-tools/ termux extras
____________________________________________
____ For armhf/armv7l/arm/arm5vl___
____________________________________________
deb [trusted=yes arch=all,arm] https://hax4us.github.io/termux-tools/ termux extras
____________________________________________
____ For armhf/armv7l/arm/arm5vl___
____________________________________________
deb [trusted=yes arch=all,arm] https://hax4us.github.io/termux-tools/ termux extras
Step 10--Now you are just one step away for being a cyber security expert...
Step 11-- Type the command apt install beef-xss and hit enter
Now let Termux to install beef in your device and ignore any warning on devices with Android 6.0 or lower versions.
Devices with Android 7.0 or above will not get any warning.But if you get you can ask me in the comments box below and I will try to help you..........
Guys if you get any issue or problem then feel free to ask me in the comments box so that I will try to help you...
ReplyDeleteAnd if you like the article then please do share with your friends and family........
$ cd $PREFIX/etc/apt
ReplyDelete$ ls
apt.conf.d sources.list
preferences.d trusted.gpg
$ cat sources.list
# The main termux repository:
deb https://termux.net stable main
$ nano sources.list
$ apt install beef-xss
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package beef-xss
$ cat sources.list
# The main termux repository:
deb https://termux.net stable main
deb [trusted=yes arch=all,aarch64] https://hax4us.github.io/termux-tools/ termux extras
$
Wt did I missed dud???
Which device do you have?
Deleteapt install beef-xss
Deletebeef
Enjoy it now
Bro I am getting error that is unable to locate beef-xss
DeleteError
DeleteBro i get some eror what i do
ReplyDeleteBro beef does'nt install what i do it show me eror
ReplyDeleteIt shows me apt install beef-xss
ReplyDeleteReading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package beef-xss
Please help
apt install beef-xss
ReplyDeleteReading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package beef-xss
same hear
Deleteapt install beef-xss
ReplyDeleteReading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
beef-xss : Depends: nodejs but it is not installable
E: Unable to correct problems, you have held broken packages.
$
Thanks bro it worked !!
ReplyDeleteapt install beef-xss
ReplyDeleteReading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package beef-xss
Help!!
its saying [!] ERROR: Default username and password in use!
ReplyDelete