hatriot / zarp Goto Github PK
View Code? Open in Web Editor NEWNetwork Attack Tool
License: Other
Network Attack Tool
License: Other
python zarp.py
Traceback (most recent call last):
File "/home/blanco/zarp/zarp.py", line 14, in
import config
File "/home/blanco/zarp/src/core/config.py", line 106
except Exception, e:
^^^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized
Whenever I try to preform a LAND DoS attack I get a message saying host appears to still be up.Can I get a further explanation on this plz. Thanks in advance!
can't find flask version?
could not find a version that satisfies the requirement Flask==0.10.1 (from -r requirements.txt (line 1)) (from versions: )
No matching distribution found for Flask==0.10.1 (from -r requirements.txt (line 1))
When I attempt to view the password sniffer output, I get a traceback:
Traceback (most recent call last):
File "./zarp.py", line 267, in
main()
File "./zarp.py", line 228, in main
session_manager.menu()
File "/opt/zarp/src/core/session_manager.py", line 31, in menu
stream.view_session(module, number)
File "/opt/zarp/src/core/stream.py", line 259, in view_session
mod.view()
File "/opt/zarp/src/modules/sniffer/password_sniffer.py", line 128, in view
pptable(table)
File "/opt/zarp/src/core/config.py", line 131, in pptable
headers = rows[0]
IndexError: list index out of range
Full steps and commands I've documented here:
http://pastebin.com/3VfP83wk
Hi,
It currently unable to install on OS X, as your said Scapy is package inside Zarp but I got this error while import config
ImportError: No module named pcapy
Hello!
How to work with zarp? I read https://defense.ballastsecurity.net/wiki/index.php/Zarp
but I dont understand, how, for example, sniff traffic or smth else :D
For example, I start
3 sniffers
3 traffic sniffers
2 192.168.1.7 (some targeted ip in local network i want to sniff (it was android phone))
run
okay, it's running.. and what? :D how can I get results?
ok, I find I can set
3 start session loggers,
so it should log to some file..
but zarp just creates empty file and thats all :(
also I have a lot python (2.7.5) exceptions during work.
For example:
2 dos attacks
1 DHCP Starvation
run
and..:
Exception in thread Thread-26:
Traceback (most recent call last):
File "/usr/lib64/python2.7/threading.py", line 808, in __bootstrap_inner
self.run()
File "/usr/lib64/python2.7/threading.py", line 761, in run
self.__target(_self.__args, *_self.__kwargs)
File "/home/frodox/workspace/github/zarp/src/modules/dos/dhcp_starvation.py", line 48, in starve
sleep(self.config['interval'].value)
NameError: global name 'sleep' is not defined
When I try to preform a LAND DoS I get a Error that says hosts appears to still be up. Can someone please help me with this. Thanks in advance! :)
when ever I try and run zarp i get the following traceback:
Traceback (most recent call last):
File "./zarp.py", line 229, in
main()
File "./zarp.py", line 88, in main
loader.load()
File "./zarp.py", line 71, in load
'src.modules.attacks.%s' % module, 'attacks'), module)
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "zarp/src/modules/attacks/beef_hook.py", line 85, in
class Hooker(controller.Master):
NameError: name 'controller' is not defined
I am at the most up-to-date version of zarp from git
I'd originally had a problem with pcapy not being installed but after doing a pip install, I somehow got it to work but now it's having a problem with the dnet module not existing.
Any help is appreciated.
Hi, users are unable to run zarp due to dependency conflict with pyOpenSSL package.
As shown in the following full dependency graph of zarp, zarp requires pyOpenSSL==0.13.1,while netlib==0.11.1 requires pyOpenSSL>=0.14.
According to pip’s “first found wins” installation strategy, pyOpenSSL==0.13.1 is the actually installed version.
However, pyOpenSSL==0.13.1 does not satisfy pyOpenSSL>=0.14.
zarp-0.1.8
| +-flask(version range:==0.10.1)
| | +-itsdangerous(version range:>=0.21)
| | +-jinja2(version range:>=2.4)
| | | +-markupsafe(version range:>=0.23)
| | +-werkzeug(version range:>=0.7)
| +-netlib(version range:==0.11.1)
| | +-passlib(version range:>=1.6.2)
| | +-pyasn1(version range:>=0.1.7)
| | +-pyopenssl(version range:>=0.14)
| +-paramiko(version range:==1.15.2)
| +-pyopenssl(version range:==0.13.1)
Thanks for your help.
Best,
Neolith
According to the official Python documentation, commands (https://docs.python.org/2/library/commands.html) has been deprecated since Python 2.6 and is not included in Python 3.x. Therefore, I think it may be helpful to replace commands with the newer functionality.
I will make a pull request with the changes if this is something that you find okay, hatRiot.
Traceback (most recent call last):
File "./zarp.py", line 229, in
main()
File "./zarp.py", line 88, in main
loader.load()
File "./zarp.py", line 71, in load
'src.modules.attacks.%s' % module, 'attacks'), module)
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/home/x4ng/下载/zarp-master/src/modules/attacks/beef_hook.py", line 2, in
from libmproxy import controller, proxy, platform
File "/home/x4ng/下载/zarp-master/src/lib/libmproxy/proxy.py", line 19, in
from netlib import odict, tcp, http, wsgi, certutils, http_status, http_auth
ImportError: No module named netlib
where netlib is?
README.md states the git clone command is:
git clone git://github.com/hatRiot/zarp.git
When it should be:
git clone https://github.com/hatRiot/zarp.git
Simple typo error
sudo python2 ./zarp.py
[-] Module src.modules.attacks.beef_hook failed to load! (No module named netlib)
[-] Module src.modules.attacks.pemod failed to load! (No module named netlib)
[-] Module src.modules.attacks.replacer failed to load! (No module named netlib)
[!] Loaded 33 modules.
____ __ ____ ____
(__ ) / \ ( _ ( _ '
/ / / \ ) / ) __/
()//(_)() [Version: 0.1.8]
[1] Poisoners [5] Parameter
[2] DoS Attacks [6] Services
[3] Sniffers [7] Attacks
[4] Scanners [8] Sessions
I'm using Homebrew Python 2.7
After execute this command
pip install -r requirements.txt
I got this
OpenSSL/crypto/crl.c:6:23: error: static declaration of 'X509_REVOKED_dup' follows non-static declaration
static X509_REVOKED * X509_REVOKED_dup(X509_REVOKED *orig) {
^
/usr/local/opt/openssl/include/openssl/x509.h:751:15: note: previous declaration is here
X509_REVOKED *X509_REVOKED_dup(X509_REVOKED *rev);
^
1 error generated.
error: command 'clang' failed with exit status 1
----------------------------------------
Command "/usr/local/opt/python/bin/python2.7 -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-mk9jH8/pyOpenSSL/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-WMIzPp-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-mk9jH8/pyOpenSSL
Hi!
i have installed all dependencies but zarp wont work, this is the error:
root@bt:~/zarp# python zarp.py --update
Traceback (most recent call last):
File "zarp.py", line 11, in
import stream
File "/root/zarp/src/core/stream.py", line 4, in
from collections import OrderedDict
ImportError: cannot import name OrderedDict
Thanks in advance
as the titile~
"there needs to be a ******* version update to zarp" -bwall
Hi to all,
I like this tool and I want report this bug.
If I active the module dhcp spoof, and on my virtual machine windows i put these commands:
ipconfig /release
ipconfig /renew
On the zarp console I have this error:
0) Back
> Exception in thread Thread-5:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/root/zarp/src/modules/poison/dhcp.py", line 50, in netsniff
stopper=self.test_stop, stopperTimeout=3)
File "/root/zarp/src/lib/scapy/sendrecv.py", line 594, in sniff
r = prn(p)
File "/root/zarp/src/modules/poison/dhcp.py", line 142, in pkt_handler
log_msg('Sent DHCP offer for \'%s\' to \'%s\''
NameError: global name 'log_msg' is not defined
I want also report that if I fix the problem about the function 'log_msg' I encurred into this error:
Handed '192.168.40.130' out to '00:0c:29:8a:d1:cb'
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/root/zarp/src/modules/poison/dhcp.py", line 50, in netsniff
stopper=self.test_stop, stopperTimeout=3)
File "/root/zarp/src/lib/scapy/sendrecv.py", line 594, in sniff
r = prn(p)
File "/root/zarp/src/modules/poison/dhcp.py", line 106, in pkt_handler
tmp = ARPSpoof()
NameError: global name 'ARPSpoof' is not defined
the output shows as below:
[-] Module src.modules.services.ssh failed to load! (No module named paramiko)
[-] Module src.modules.attacks.beef_hook failed to load! (No module named netlib)
[-] Module src.modules.attacks.replacer failed to load! (No module named netlib)
[-] Module src.modules.attacks.pemod failed to load! (No module named netlib)
[!] Loaded 32 modules.
How can I fix these module-lack problem?
Thx.
Currently Zarp lacks the ability (as far as I can tell) to poison an entire subnet/network.Which would be a extremely useful feature.
xx
title said enough
Please call to discuss fixes 1-900-bwall-unf
AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHh
Please start creating release tags for source code so it would be possible to download the tarball.
OSX!!!!!!!!!!!!
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.