entropy1337 / infernal-twin Goto Github PK
View Code? Open in Web Editor NEWwireless hacking - This is automated wireless hacking tool
wireless hacking - This is automated wireless hacking tool
It is not possible for a user to supply number of packets for authentication.
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'console'
warnings.warn(msg)
When hacking wpa2, the airodump channel wasn't being set properly.
Not it is fixed.
root@kali:~/infernal-twin# ./InfernalWireless.py
^C
^C
^C
^C
^C
^Cfrom: can't read /var/mail/datetime
from: can't read /var/mail/Modules
from: can't read /var/mail/Modules
./InfernalWireless.py: line 14: syntax error near unexpected token "scapy.runtime"' ./InfernalWireless.py: line 14:
logging.getLogger("scapy.runtime").setLevel(logging.ERROR)'
Nevermind, i thought i saw something suspicious.
When i try and start a fake WPA2 AP i get this error in systemctl status networking.service???
I can start an open Fake AP no problem. Any ideas?
โ networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2017-03-23 00:16:20 EDT; 32min ago
Docs: man:interfaces(5)
Main PID: 7246 (code=exited, status=1/FAILURE)
Mar 23 00:16:20 kali systemd[1]: Starting Raise network interfaces...
Mar 23 00:16:20 kali ifup[7246]: Cannot find device "br0"
Mar 23 00:16:20 kali ifup[7246]: Failed to bring up br0.
Mar 23 00:16:20 kali systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Mar 23 00:16:20 kali systemd[1]: Failed to start Raise network interfaces.
Mar 23 00:16:20 kali systemd[1]: networking.service: Unit entered failed state.
Mar 23 00:16:20 kali systemd[1]: networking.service: Failed with result 'exit-code'.
Hi ,i have follow the step describe here but is not working for me !
i have delete the dbconnect.conf
then i enter a user and pass and i have this for result
Creds are not correct
Traceback (most recent call last):
File "InfernalWireless.py", line 20, in
cxn = MySQLdb.connect('localhost',str(dbfile[0]).replace('\n',''),str(dbfile[1]).replace('\n',''))
File "/usr/lib/python2.7/dist-packages/MySQLdb/init.py", line 81, in Connect
return Connection(_args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 187, in init
super(Connection, self).init(_args, *_kwargs2)
_mysql_exceptions.OperationalError: (1045, "Access denied for user 'root2'@'localhost' (using password: YES)")
i have try this
/etc/init.d/mysql start
i have try this also
Run the following command from your mysql console.
mysql>use mysql;
mysql>CREATE USER 'root2'@'localhost' IDENTIFIED BY 'enter the new password here';
mysql>GRANT ALL PRIVILEGES ON . TO 'root2'@'localhost' WITH GRANT OPTION;
no more success this way
i specify that i use Kali GNU/Linux 2.0 (sana) 32-bit -gnome 3.14.1
what i do wrong? any help is very appreciated.
Hi there,
I'm with the following issue while trying to run the app.
After run with:
./InfernalWireless.py
It change the icon of the mouse as well!
Get this output:
import-im6.q16: unable to grab mouse `': Resource temporarily unavailable @ error/xwindow.c/XSelectWindow/9182.
import-im6.q16: unable to grab mouse `': Resource temporarily unavailable @ error/xwindow.c/XSelectWindow/9182.
import-im6.q16: unable to grab mouse `': Resource temporarily unavailable @ error/xwindow.c/XSelectWindow/9182.
import-im6.q16: unable to grab mouse `': Resource temporarily unavailable @ error/xwindow.c/XSelectWindow/9182.
from: can't read /var/mail/datetime
from: can't read /var/mail/Modules
from: can't read /var/mail/Modules
./InfernalWireless.py: line 14: syntax error near unexpected token `"scapy.runtime"'
./InfernalWireless.py: line 14: `logging.getLogger("scapy.runtime").setLevel(logging.ERROR)'
Hi,
I was testing the tool's features under different flavors of linux and under kali 2, i found out that the radius server is not accepting requests from clients when attempting to authenticate hence one is not able to capture the challenge and response.
even when the client is accepted the challenge and response is not being captured in the log.
I will see what could be the reason.
thanks,
Could not run app on Virtual Environment. Even on the core system the app keep crashing on Mac 10.12.6
Hi,
up for consideration/thought is to drop README and README.TXT in favour of README.md which is a text file as well, although with markup language. The reason is triplication of information and keeping these files in sync which I believe is going to be the last thing they're going to be in.
There is a price to pay, though. As I've mentioned in #5, escaped characters, \*
, can be confusing. I'm not sure(meaning I haven't looked for it) if there is a CLI tool that would strip markup and produced plain TXT without it.
My $0.02USD.
I am running parrot OS:
Static hostname: parrot
Icon name: computer-vm
Chassis: vm
Machine ID: ce9c440c333d4ba4882539d5b73c078c
Boot ID: 340b0bb81af3485a9d04bdfa98aae06c
Virtualization: vmware
Operating System: Parrot GNU/Linux 4.10
Kernel: Linux 5.8.0-1parrot1-amd64
Architecture: x86-64
I have gone through all the guides, I have set up mysql and installed it, I can connect using mysql then usemysql, granted privileges, created new user, delete .conf file and still I get this message.
Does anybody know how to fix this? Also runing the .py files in /Modules gives the same error
It will be for the best to explain this issue with example. When you go to Wireless Hacking menu, choose Hack WPA2, then new window is created. However, this window is created under the main application window rather on top of it.
This happens only sometimes, but enough times to notice. Reason is unknown.
During WPA2 Hacking, channel is not being set according to the capture.
Would you mind advising on whether there is plan on adding the WPA 3 for the automated hacking?
When i use command :
it run successfully but nothing happens , no gui or anything opens up on screen
kindly help me ...
Hello,
is it possible to remove link to Google Analytics from wiki page? I understand this might be helping you to track popularity of the project(or whatever), but I don't think people like calling back home to mothership.
Please, give this a thought.
Thank you.
EDIT: couple corrections.
Hello,
I believe it'd be great if you could either choose roles for devices, or dedicate device to some specific task, or even "blacklist" device(= don't touch this device). I mean, what if you want to use wlan1
for wireless scan? What if you want to "provide" free Internet over wlan interface instead of eth0?
It might be nice to have feature.
Hello,
I have a question about the following code which can be seen at multiple places:
[...]
proc = subprocess.Popen(["ifconfig", ""], stdout=subprocess.PIPE, shell=True)
(out2, err) = proc.communicate()
[...]
if monitoring_interface in out2:
# Do stuff
ssid = str(self.ask(message = 'Enter the SSID')).strip()
MAC = str(self.ask(message = 'Enter the MAC')).strip()
[...]
else:
wx.MessageBox('make sure you have mon0 interface', 'Warning/Error', wx.ICON_ERROR | wx.ICON_INFORMATION)
What's exactly the purpose of these checks? ifconfig
is called and then, say, wlan0
is searched in its output. I believe we can get this information elsewhere, resp. we are already getting it from elsewhere.
Also, I found a bug here, because we won't get mon0
interface, but whatever interface comes first. :)
Thank you,
Z.
root@backbox:/home/its_0x08/Desktop/exploits/infernal-twin# python InfernalWireless.py
Hello,
links in wiki do link to missing pages which aren't in repository. This might be a work in progress, although this is currently unclear.
Thanks.
i get this :
Traceback (most recent call last):
File "InfernalWireless.py", line 82, in
db_setup.create_db(cur, db_setup.INFERNAL_DB, username, password)
File "/root/infernal-twin/Modules/db_setup.py", line 52, in create_db
dbcurr.execute(grant_all)
File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 226, in execute
self.errorhandler(self, exc, value)
File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorvalue
_mysql_exceptions.ProgrammingError: (1146, "Table 'mysql.user' doesn't exist")
I gave my credentials correctly to the program, as it asked.. They are also correctly written in dbconnect.conf.
But it tries to connect without a Pasword..
I could normally access my mysql-server using mysql -p
output:
[ ok ] Starting apache2 (via systemctl): apache2.service.
[ ok ] Starting mysql (via systemctl): mysql.service.
DB Config files is found
Traceback (most recent call last):
File "./InfernalWireless.py", line 30, in
cxn = MySQLdb.connect(db='InfernalWireless')
File "/usr/lib/python2.7/dist-packages/MySQLdb/init.py", line 81, in Connect
return Connection(_args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 187, in init
super(Connection, self).init(_args, *_kwargs2)
_mysql_exceptions.OperationalError: (1045, "Access denied for user 'root'@'localhost' (using password: NO)")
Hello,
image ninja_tux.png
is missing. It's being referenced in splash_screen.py
. Please, put it in img/
directory or replace with appropriate filename or remove line in question.
Cheers!.
Hi,
Just downloaded the setup a fresh install of kali and updated it ( 4.18.0-kali2-amd64 ). After cloning the git and trying to run it, it would give me the error below.
root@test:/opt/infernal-twin# ./InfernalWireless.py
from: too many arguments
from: too many arguments
from: too many arguments
./InfernalWireless.py: line 14: syntax error near unexpected token "scapy.runtime"' ./InfernalWireless.py: line 14:
logging.getLogger("scapy.runtime").setLevel(logging.ERROR)'
I managed to fix this by manually running python modules/db_setup.py and entering the username as root and blank password.
Great software, having tons of fun. Thx
still has major issues with connecting to mysql database. needs serious updating. spent hours trying to get this to work again and it won't work anymore. Suggested solution does NOT work. Mysql doesn't even accept the cmd.
Linux Fali 4.9.0-kali4-amd64 #1 SMP Debian 4.9.30-1kali1 (2017-06-06) x86_64 GNU/Linux
mysql Ver 15.1 Distrib 10.1.23-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
I'm getting error:
Latest Kali
Processing triggers for systemd (231-4) ...
W: --force-yes is deprecated, use one of the options starting with --allow instead.
After some time terminating process cause it isn't going anywhere, installing RreeRadius
installation goes ok.
Then running Tools > Configure Software
Process starts again, and hangs in with error:
error: package directory 'graphviz' does not exist
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'console'
warnings.warn(msg)
running install
running build
running build_py
error: package directory 'graphviz' does not exist
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Reading package lists... Done
Building dependency tree
Reading state information... Done
dnsmasq is already the newest version (2.76-5).
hostapd is already the newest version (2:2.4-1).
ERROR: unknown command "apt-get"
0 upgraded, 0 newly installed, 0 to remove and 1896 not upgraded.
Requirement already satisfied: reportlab in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: pip>=1.4.1 in /usr/local/lib/python2.7/dist-packages (from reportlab)
Requirement already satisfied: setuptools>=2.2 in /usr/lib/python2.7/dist-packages (from reportlab)
Requirement already satisfied: pillow>=2.4.0 in /usr/lib/python2.7/dist-packages (from reportlab)
Installing graphviz manually
apt-get -y install graphviz*
running software again and again trying to finish package installation
getting:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'console'
warnings.warn(msg)
running build
running build_py
Reading package lists... Done
error: package directory 'graphviz' does not exist
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'console'
warnings.warn(msg)
running install
running build
running build_py
error: package directory 'graphviz' does not exist
Building dependency tree
Reading state information... Done
dnsmasq is already the newest version (2.76-5).
hostapd is already the newest version (2:2.4-1).
ERROR: unknown command "apt-get"
0 upgraded, 0 newly installed, 0 to remove and 1888 not upgraded.
Requirement already satisfied: reportlab in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: pip>=1.4.1 in /usr/local/lib/python2.7/dist-packages (from reportlab)
Requirement already satisfied: setuptools>=2.2 in /usr/lib/python2.7/dist-packages (from reportlab)
Requirement already satisfied: pillow>=2.4.0 in /usr/lib/python2.7/dist-packages (from reportlab)
running again
ERROR: unknown command "apt-get"
The following additional packages will be installed:
ifupdown
Suggested packages:
rdnssd
The following NEW packages will be installed:
bridge-utils
Requirement already satisfied: reportlab in /usr/local/lib/python2.7/dist-packages
The following packages will be upgraded:
ifupdown
Requirement already satisfied: pip>=1.4.1 in /usr/local/lib/python2.7/dist-packages (from reportlab)
1 upgraded, 1 newly installed, 0 to remove and 1887 not upgraded.
Need to get 34.1 kB/111 kB of archives.
After this operation, 111 kB of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
Requirement already satisfied: setuptools>=2.2 in /usr/lib/python2.7/dist-packages (from reportlab)
Requirement already satisfied: pillow>=2.4.0 in /usr/lib/python2.7/dist-packages (from reportlab)
Installing ifupdown bridge-utils rdnssd manually
and still errors :)
WPA crack or any cracking should use BSSID instead of ESSID. The reason is, there can be N APs with the same ESSID. Also, there happen to be APs with no ESSID at all.
This is an easy thing to fix.
when running the script i get this..
Traceback (most recent call last):
File "./InfernalWireless.py", line 2, in
import MySQLdb
File "build/bdist.linux-x86_64/egg/MySQLdb/init.py", line 19, in
File "build/bdist.linux-x86_64/egg/_mysql.py", line 7, in
File "build/bdist.linux-x86_64/egg/_mysql.py", line 6, in bootstrap
ImportError: libmariadbclient.so.18: cannot open shared object file: No such file or directory
libmariadbclient.so.18 will not install due too dependencies issues which this isnt in kali repos at all.
Edit: i uninstalled the new version of libmaria3 which uninstalls some hacking tools and other stuff and installed libmariadbclient.so.18 and libmariadb3_10.3-13-1 and now it works then you can reinstall what was uninstalled. it seems V3 of your tool isnt compatible with the newest version of libmaria? perhaps im wrong. I also noticed some functions dont work in infernal-twin like once you click on something nothing happens.
Hey,
How are u? Very very nice work in this project!
I am making some hard test here, and expect give you some feedback.
I have a question for now, i have two cards, one is pci of laptop another is a TP-Link / Bus 001 Device 019: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
I have also a 25dbi 2.4 ghz antenna booster connect at it, but the Infernal dont start a scan in my usb wifi card?
Some tip to help me guys?
Reggards!
Hello!
I got this message into console on Recon Wireless / Scan Wireless menu.
~/infernal-twin# python InfernalWireless.py
command failed: Too many open files in system (-23)
All good
command failed: Too many open files in system (-23)
After that i see list of available AP like this
WIRELESS SCAN
[SSID: int BSS: 24:01:c7:15:47:50, Ciphers: CCMP, Channel: 1]
[SSID: HPCM1415, BSS: 94:d8:59:b2:5d:da, Ciphers: TKIP, Channel: 1]
[SSID: inter, BSS: cc:d5:39:cd:55:90, Ciphers: CCMP, Channel: 1]
[SSID: \x00\x00\x00\x00\x00\x00\x00\x00, BSS: d0:5b:a8:9a:37:e4, Ciphers: CCMP, Channel: 11]
[SSID: AndroidAP_1405, BSS: 82:35:c1:dd:6d:6a, Ciphers: CCMP, Channel: 6]
maybe this is fine and i should not notice about this.
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
ID=kali
VERSION="2019.1"
VERSION_ID="2019.1"
ID_LIKE=debian
chmod -R 755 *.py
chmod -R 644 *.md
chmod -R 644 Modules/*.txt
chmod -R 644 Modules/*.conf*
chmod -R 644 Modules/*.log
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.