0v3rride / enum4linuxpy Goto Github PK
View Code? Open in Web Editor NEWEveryone's favorite SMB/SAMBA/CIFS enumeration tool ported over to Python.
License: GNU General Public License v3.0
Everyone's favorite SMB/SAMBA/CIFS enumeration tool ported over to Python.
License: GNU General Public License v3.0
[E] Server doesn't allow session using username '', password '123'. Aborting remainder of tests.
When running the script; I always get this error on top:
/opt/Enum4LinuxPy/Enum4LinuxPy.py:120: SyntaxWarning: "is" with a literal. Did you mean "=="?
if uargs.p is None or uargs.p is "":
/opt/Enum4LinuxPy/Enum4LinuxPy.py:127: SyntaxWarning: "is" with a literal. Did you mean "=="?
if sys.platform.lower() is "windows":
/opt/Enum4LinuxPy/Enum4LinuxPy.py:136: SyntaxWarning: "is" with a literal. Did you mean "=="?
if response.returncode is 0 and verbose:
/opt/Enum4LinuxPy/Enum4LinuxPy.py:138: SyntaxWarning: "is not" with a literal. Did you mean "!="?
elif response.returncode is not 0:
/opt/Enum4LinuxPy/Enum4LinuxPy.py:147: SyntaxWarning: "is" with a literal. Did you mean "=="?
if response.returncode is 0 and verbose:
/opt/Enum4LinuxPy/Enum4LinuxPy.py:149: SyntaxWarning: "is not" with a literal. Did you mean "!="?
elif response.returncode is not 0:
/opt/Enum4LinuxPy/Enum4LinuxPy.py:422: SyntaxWarning: "is" with a literal. Did you mean "=="?
if (args.w is None or args.w is "" or args.w is " "):
/opt/Enum4LinuxPy/Enum4LinuxPy.py:422: SyntaxWarning: "is" with a literal. Did you mean "=="?
if (args.w is None or args.w is "" or args.w is " "):
/opt/Enum4LinuxPy/Enum4LinuxPy.py:486: SyntaxWarning: "is" with a literal. Did you mean "=="?
if (group is "domain"):
/opt/Enum4LinuxPy/Enum4LinuxPy.py:498: SyntaxWarning: "is" with a literal. Did you mean "=="?
if (group is "domain"):
/opt/Enum4LinuxPy/Enum4LinuxPy.py:738: SyntaxWarning: "is" with a literal. Did you mean "=="?
if not output or output is "":
Password:
usage: python Enum4LinuxPy.py -t
E.g:
python Enum4LinuxPy.py -t 10.10.x.x -a
python Enum4LinuxPy.py -t 10.20.x.x -l
python Enum4LinuxPy.py -t 192.168.x.x -R 1000-2000 500-600 -k administrator wsusadmin exchadmin root guest admin
NOTE that -R or -k take a list as arguments and only require a space separation delimitation)
Enum4LinuxPy https://github.com/0v3rride (Ryan Gore): error: the following arguments are required: -t
/home/abcdefg/Documents/Enum4LinuxPy/Enum4LinuxPy.py:120: SyntaxWarning: "is" with a literal. Did you mean "=="?
if uargs.p is None or uargs.p is "":
/home/abcdefg/Documents/Enum4LinuxPy/Enum4LinuxPy.py:127: SyntaxWarning: "is" with a literal. Did you mean "=="?
if sys.platform.lower() is "windows":
/home/abcdefg/Documents/Enum4LinuxPy/Enum4LinuxPy.py:136: SyntaxWarning: "is" with a literal. Did you mean "=="?
if response.returncode is 0 and verbose:
/home/abcdefg/Documents/Enum4LinuxPy/Enum4LinuxPy.py:138: SyntaxWarning: "is not" with a literal. Did you mean "!="?
elif response.returncode is not 0:
/home/abcdefg/Documents/Enum4LinuxPy/Enum4LinuxPy.py:147: SyntaxWarning: "is" with a literal. Did you mean "=="?
if response.returncode is 0 and verbose:
/home/abcdefg/Documents/Enum4LinuxPy/Enum4LinuxPy.py:149: SyntaxWarning: "is not" with a literal. Did you mean "!="?
elif response.returncode is not 0:
/home/abcdefg/Documents/Enum4LinuxPy/Enum4LinuxPy.py:422: SyntaxWarning: "is" with a literal. Did you mean "=="?
if (args.w is None or args.w is "" or args.w is " "):
/home/abcdefg/Documents/Enum4LinuxPy/Enum4LinuxPy.py:422: SyntaxWarning: "is" with a literal. Did you mean "=="?
if (args.w is None or args.w is "" or args.w is " "):
/home/abcdefg/Documents/Enum4LinuxPy/Enum4LinuxPy.py:486: SyntaxWarning: "is" with a literal. Did you mean "=="?
if (group is "domain"):
/home/abcdefg/Documents/Enum4LinuxPy/Enum4LinuxPy.py:498: SyntaxWarning: "is" with a literal. Did you mean "=="?
if (group is "domain"):
/home/abcdefg/Documents/Enum4LinuxPy/Enum4LinuxPy.py:738: SyntaxWarning: "is" with a literal. Did you mean "=="?
if not output or output is "":
usage: python Enum4LinuxPy.py -t
E.g:
python Enum4LinuxPy.py -t 10.10.x.x -a
python Enum4LinuxPy.py -t 10.20.x.x -l
python Enum4LinuxPy.py -t 192.168.x.x -R 1000-2000 500-600 -k administrator wsusadmin exchadmin root guest admin
NOTE that -R or -k take a list as arguments and only require a space separation delimitation)
Enum4LinuxPy https://github.com/0v3rride (Ryan Gore): error: the following arguments are required: -t
Replace explicit 'is' with '=='.
I have fixed this locally if you want me to do a PR.
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.