Comments (3)
Ok this is an ommission as the script had to check if the file is present first.
Thank you for the bug
Sent from my iPhone
On May 30, 2016, at 7:03 PM, stephenreda [email protected] wrote:
/resources/network_scanners.py
You use the with open to retrieve files. However, in this example, if no service is found on port 80, no webservers80 will be created in Results. This results in a IOError, No such file or directory.
You will have to catch the exception if you want the script to continue.nm.scan(hosts=CIDR, arguments='-Pn -T4 -p80 --open')
for host in nm.all_hosts():
with open('/home/pi/WarBerry/Results/webservers80', 'a') as webservers80:
print('----------------------------------------------------')
print bcolors.OKGREEN +(' *** Web Server Found : %s via port 80 ***' % (host)) + bcolors.ENDC
webservers80.write('%s\n' %host)—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
from warberry.
i cannot replicate this issue.
do you have the same problem with the other services scan?
the file is opened for appending, if not results are found webservers80.write('%s\n' %host) will not write anything.
please provide some more information as from my side it works fine
from warberry.
issue closed, linked pull request was closed, not merged
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.