Comments (30)
I removed the top part of the file and now I get this.
root@kali:~# python warberry.py
Traceback (most recent call last):
File "warberry.py", line 32, in
from src.utils.info_banners import *
ImportError: No module named src.utils.info_banners
from warberry.
It seems that that part of the code is not commented out as it should be.
Pls provide some more indormation if you chanced anything etc
from warberry.
I just copied and pasted it straight from the https://github.com/secgroundzero/warberry/blob/master/warberry.py link.
from warberry.
Its better if you download the git folder rather that copying and pasting.
I think thats where it went wrong
Sent from my iPhone
On Aug 14, 2016, at 8:03 PM, jcpolo1 [email protected] wrote:
I just copied and pasted it straight from the https://github.com/secgroundzero/warberry/blob/master/warberry.py link.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
from warberry.
Did I not follow the installation directions? I did the
Auto installation of dependencies
sudo bash bootstrap.sh
and I couldn't find it so I just created the files myself via copy paste. What step did I miss?
from warberry.
Try with git clone the repo. Did u do that?
Sent from my iPhone
On Aug 14, 2016, at 8:08 PM, jcpolo1 [email protected] wrote:
Did I not follow the installation directions? I did the
Auto installation of dependencies
sudo bash bootstrap.sh
and I couldn't find it so I just created the files myself via copy paste. What step did I miss?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
from warberry.
I didn't see that anywhere in the instructions. was it in the bootstrap install?
from warberry.
No.
You first need to clone the repo. So from the command line while on the RPi run sudo git clone https://...
Google the instructions on how to clone a repo as i cannot provide the screenshots from here
Sent from my iPhone
On Aug 14, 2016, at 8:48 PM, jcpolo1 [email protected] wrote:
I didn't see that anywhere in the instructions. was it in the bootstrap install?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
from warberry.
ok, that did it. Its working now but still more errors, I'll try and see if its something I did or what.
root@kali:/home/pi/warberry# sudo python warberry.py -H -I wlan0
| | | |/ _ \ | ___ \ ___ \ | ___ \ ___ \ \ / /
| | | / /\ | |/ / |/ / |__ | |/ / |/ /\ V /
| |/| | _ || /| ___ \ || /| / \ /
\ /\ / | | || |\ | |/ / || |\ | |\ \ | |
/ /| |/_| __//| __| _| _/
TACTICAL EXPLOITATION
v4.0 @sec_groundzero
[email protected]
[ DHCP SERVICE CHECK MODULE ]
DHCP Service Status... Not Running - Stealth
[ IP ENUMERATION MODULE ]
[+] Internal IP obtained on wlan0: 192.168.1.193 netmask 255.255.255.0
[!] Could not reach the outside world. Possibly behind a firewall or some kind filtering
[ SCOPE DEFINITION MODULE ]
Finding live IPs in order to include only those in the scans to minimize footprint
ERROR: --- Error in child 8588
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/scapy/sendrecv.py", line 89, in sndrcv
pks.send(p)
File "/usr/lib/python2.7/dist-packages/scapy/supersocket.py", line 35, in send
return self.outs.send(sx)
error: [Errno 22] Invalid argument
ERROR:scapy.runtime:--- Error in child 8588
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/scapy/sendrecv.py", line 89, in sndrcv
pks.send(p)
File "/usr/lib/python2.7/dist-packages/scapy/supersocket.py", line 35, in send
return self.outs.send(sx)
error: [Errno 22] Invalid argument
IP Addresses Found
Traceback (most recent call last):
File "warberry.py", line 279, in
main()
File "warberry.py", line 121, in main
int_ip = iprecon(iface)
File "/home/pi/warberry/src/core/enumeration/ip_enum.py", line 49, in iprecon
scope_definition(ifname, CIDR)
File "/home/pi/warberry/src/core/enumeration/ip_enum.py", line 71, in scope_definition
with open('../Results/live_ips', 'w') as ip_addresses:
IOError: [Errno 2] No such file or directory: '../Results/live_ips'
from warberry.
Ok i assume you downloaded all the files and folders correct?
For the first error make sure tcpdump is installed correctly.
For the second error create the ../Results directory manually
Sent from my iPhone
On Aug 14, 2016, at 9:14 PM, jcpolo1 [email protected] wrote:
ok, that did it. Its working now but still more errors, I'll try and see if its something I did or what.
root@kali:/home/pi/warberry# sudo python warberry.py -H -I wlan0
| | | |/ _ \ | ___ \ ___ \ | __ \ ___ \ \ / /
| | | / /\ | |/ / |/ / |_ | |/ / |/ /\ V /
| |/| | _ || /| ___ \ || /| / \ /
\ /\ / | | || |\ | |/ / || |\ | |\ \ | |
/ /_| |/| ___/___/| __| _| _/TACTICAL EXPLOITATION
v4.0 @sec_groundzero
[email protected][ DHCP SERVICE CHECK MODULE ]
DHCP Service Status... Not Running - Stealth[ IP ENUMERATION MODULE ]
[+] Internal IP obtained on wlan0: 192.168.1.193 netmask 255.255.255.0
[!] Could not reach the outside world. Possibly behind a firewall or some kind filtering[ SCOPE DEFINITION MODULE ]
Finding live IPs in order to include only those in the scans to minimize footprintERROR: --- Error in child 8588
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/scapy/sendrecv.py", line 89, in sndrcv
pks.send(p)
File "/usr/lib/python2.7/dist-packages/scapy/supersocket.py", line 35, in send
return self.outs.send(sx)
error: [Errno 22] Invalid argument
ERROR:scapy.runtime:--- Error in child 8588
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/scapy/sendrecv.py", line 89, in sndrcv
pks.send(p)
File "/usr/lib/python2.7/dist-packages/scapy/supersocket.py", line 35, in send
return self.outs.send(sx)
error: [Errno 22] Invalid argumentIP Addresses Found
Traceback (most recent call last):
File "warberry.py", line 279, in
main()
File "warberry.py", line 121, in main
int_ip = iprecon(iface)
File "/home/pi/warberry/src/core/enumeration/ip_enum.py", line 49, in iprecon
scope_definition(ifname, CIDR)
File "/home/pi/warberry/src/core/enumeration/ip_enum.py", line 71, in scope_definition
with open('../Results/live_ips', 'w') as ip_addresses:
IOError: [Errno 2] No such file or directory: '../Results/live_ips'—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
from warberry.
I just let the install script run. I assumed it created them all.
root@kali:/home/pi/warberry# sudo bash bootstrap.sh
STARTING WarBerry INSTALLATION SCRIPT...
CREATING DIRECTORIES...
PERFORMING BASIC DEPENDENCIES INSTALLATION...
I created the results directory and verified TCP dump is installed and current. still get the same errors
from warberry.
Any more suggestions?
from warberry.
I would begin with a fresh installation and then install the dependencies manually with the instructions in the wiki.
On Aug 15, 2016, at 8:21 AM, jcpolo1 [email protected] wrote:
Any more suggestions?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
from warberry.
I did a fresh install of ubuntu, then the git, lastly the bootstrap. This is the output.
war@warberry:~/warberry$ sudo python warberry.py -I wlan0
| | | |/ _ \ | ___ \ ___ \ | ___ \ ___ \ \ / /
| | | / /\ | |/ / |/ / |__ | |/ / |/ /\ V /
| |/| | _ || /| ___ \ || /| / \ /
\ /\ / | | || |\ | |/ / || |\ | |\ \ | |
/ /| |/_| __//| __| _| _/
TACTICAL EXPLOITATION
v4.0 @sec_groundzero
[email protected]
[ DHCP SERVICE CHECK MODULE ]
DHCP Service Status... Not Running - Stealth
[ IP ENUMERATION MODULE ]
[+] Internal IP obtained on wlan0: 192.168.1.193 netmask 255.255.255.0
[!] Could not reach the outside world. Possibly behind a firewall or some kind filtering
[ SCOPE DEFINITION MODULE ]
Finding live IPs in order to include only those in the scans to minimize footprint
ERROR: --- Error in child 7104
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/scapy/sendrecv.py", line 89, in sndrcv
pks.send(p)
File "/usr/lib/python2.7/dist-packages/scapy/supersocket.py", line 34, in send
return self.outs.send(sx)
error: [Errno 22] Invalid argument
ERROR:scapy.runtime:--- Error in child 7104
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/scapy/sendrecv.py", line 89, in sndrcv
pks.send(p)
File "/usr/lib/python2.7/dist-packages/scapy/supersocket.py", line 34, in send
return self.outs.send(sx)
error: [Errno 22] Invalid argument
IP Addresses Found
192.168.1.1
Traceback (most recent call last):
File "warberry.py", line 279, in
main()
File "warberry.py", line 121, in main
int_ip = iprecon(iface)
File "/home/war/warberry/src/core/enumeration/ip_enum.py", line 49, in iprecon
scope_definition(ifname, CIDR)
File "/home/war/warberry/src/core/enumeration/ip_enum.py", line 71, in scope_definition
with open('../Results/live_ips', 'w') as ip_addresses:
IOError: [Errno 2] No such file or directory: '../Results/live_ips'
from warberry.
is the folder Results present? one directory up?
from warberry.
Where was the script supposed to create them?
war@warberry:/warberry$ ls/warberry$ cd ..
bootstrap.sh README README.md REPORTING SCREENS src warberry.py
war@warberry:
war@warberry:~$ ls
Desktop Documents Downloads Music Pictures Public Templates Videos warberry
from warberry.
pls follow the installation instructions
https://github.com/secgroundzero/warberry/wiki/Installation
from warberry.
I did, I installed the auto version instead of the manual version. Am I supposed to do both?
Auto installation of dependencies
sudo bash bootstrap.sh
Manual Installation of dependencies
Optional: Change the hostname of the RaspberryPi to WarBerry
sudo nano /etc/hosts
sudo nano /etc/hostname
Reboot the WarBerry for the changes to take effect
Optional: Create a directory under /home/pi
sudo mkdir WarBerry
Create the Results subdirectory in /WarBerry
sudo mkdir Results
Download WarBerry by cloning the Git repository:
sudo git clone https://github.com/secgroundzero/warberry.git
from warberry.
war@warberry:/$ ls
bin boot dev etc home lib lost+found media mnt opt proc root run sbin snap srv sys tmp usr var
war@warberry:/$ cd home/
war@warberry:/home$ ls
pi war
war@warberry:/home$ cd pi/
war@warberry:/home/pi$ ls
WarBerry
war@warberry:/home/pi$ cd WarBerry/
war@warberry:/home/pi/WarBerry$ ls
Results Tools
from warberry.
ok so the folder Results exists. what is the error you are getting now?
from warberry.
same as before
ERROR: --- Error in child 20218
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/scapy/sendrecv.py", line 89, in sndrcv
pks.send(p)
File "/usr/lib/python2.7/dist-packages/scapy/supersocket.py", line 34, in send
return self.outs.send(sx)
error: [Errno 22] Invalid argument
ERROR:scapy.runtime:--- Error in child 20218
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/scapy/sendrecv.py", line 89, in sndrcv
pks.send(p)
File "/usr/lib/python2.7/dist-packages/scapy/supersocket.py", line 34, in send
return self.outs.send(sx)
error: [Errno 22] Invalid argument
IP Addresses Found
192.168.1.1
Traceback (most recent call last):
File "warberry.py", line 279, in
main()
File "warberry.py", line 121, in main
int_ip = iprecon(iface)
File "/home/war/warberry/src/core/enumeration/ip_enum.py", line 49, in iprecon
scope_definition(ifname, CIDR)
File "/home/war/warberry/src/core/enumeration/ip_enum.py", line 71, in scope_definition
with open('../Results/live_ips', 'w') as ip_addresses:
IOError: [Errno 2] No such file or directory: '../Results/live_ips'
from warberry.
there is something wrong with your file structure
the correct structure is /home/pi/WarBerry/warberry
Results and Tools should be under WarBerry
the warberry.py and src modules should be under warberry
whats the ls of WarBerry and the ls of warberry?
from warberry.
I'm not sure why it did it like this but I followed the auto install via bootstrap, I didn't do anything manually.
war@warberry:/warberry$ cd /home/pi//warberry$ ls
war@warberry:/home/pi$ ls
WarBerry
war@warberry:/home/pi$ cd WarBerry/
war@warberry:/home/pi/WarBerry$ ls
Results Tools
war@warberry:/home/pi/WarBerry$ cd /home/war/warberry/
war@warberry:
bootstrap.sh README README.md REPORTING SCREENS src warberry.py
from warberry.
move the entire warberry folder under WarBerry
from warberry.
war@warberry:$ sudo mv warberry/ /home/pi/WarBerry/$ ls
war@warberry:
Desktop Documents Downloads Music Pictures Public Templates Videos
war@warberry:~$ cd /home/pi/WarBerry/
war@warberry:/home/pi/WarBerry$ ls
Results Tools warberry
from warberry.
still get errors, but it is actually doing something now...
DHCP Service Status... Not Running - Stealth
[ IP ENUMERATION MODULE ]
[+] Internal IP obtained on wlan0: 192.168.1.193 netmask 255.255.255.0
[!] Could not reach the outside world. Possibly behind a firewall or some kind filtering
[ SCOPE DEFINITION MODULE ]
Finding live IPs in order to include only those in the scans to minimize footprint
ERROR: --- Error in child 20519
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/scapy/sendrecv.py", line 89, in sndrcv
pks.send(p)
File "/usr/lib/python2.7/dist-packages/scapy/supersocket.py", line 34, in send
return self.outs.send(sx)
error: [Errno 22] Invalid argument
ERROR:scapy.runtime:--- Error in child 20519
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/scapy/sendrecv.py", line 89, in sndrcv
pks.send(p)
File "/usr/lib/python2.7/dist-packages/scapy/supersocket.py", line 34, in send
return self.outs.send(sx)
error: [Errno 22] Invalid argument
IP Addresses Found
[ IP NETWORK SNIFFING MODULE ]
Sniffer will begin capturing 20 packets
[+] Capture Completed. PCAP File Saved at ../Results/capture.pcap!
[ PCAP CAPTURE PARSER MODULE ]
[*] Looking for interesting data in /Results/capture.pcap
[-] No interesting data found in the PCAP file
[ HOSTNAMES ENUMERATION MODULE ]
Current Hostname: warberry
Searching for hostnames in 192.168.1.0/24
[+] Found Hostname: WEBBOX150189704
[ NAMESERVER ENUMERATION MODULE ]
Doing NBT name scan for addresses from 192.168.1.0/24
from warberry.
i cannot replicate your error. just did a fresh install and not getting any errors
from warberry.
hmm, it has something to do with scapy, everything else appears to work normally.
I've done 2 fresh installs since I posted the above and I get the same each time. could it be the ubuntu mate os that I'm running?
from warberry.
cannot guarantee smooth operation on ubuntu. this was designed for raspbian.
closing the issue
from warberry.
ok, so I will try on raspbian then, I didn't realize the OS mattered.
from warberry.
Related Issues (20)
- Error after running Recon HOT 1
- Binary file (Standard Output) error HOT 1
- launch script warberry.py HOT 7
- installing dnspython via pip fails HOT 1
- error while launching fresh installation HOT 2
- No such option: -a HOT 4
- Scan stops whilst waiting for Responder HOT 4
- Viewing Data HOT 4
- Why sudo HOT 1
- ModelPi UnboundLocalError HOT 2
- struct.error: cannot convert argument to integer HOT 4
- nmap PortScannerError
- cme returns helpo HOT 4
- bootstrap.sh missing? HOT 2
- Getting warberry into kali-linux-arm-image HOT 2
- rest_bypass.py HOT 1
- Hostnames not shown correctly? HOT 2
- No module named requests.packages.urllib3 HOT 3
- CrackMapExec :cme: error: HOT 1
- error running warberry.py -h HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from warberry.