m8sec / enumdb Goto Github PK
View Code? Open in Web Editor NEWRelational database brute force and post exploitation tool for MySQL and MSSQL
License: GNU General Public License v3.0
Relational database brute force and post exploitation tool for MySQL and MSSQL
License: GNU General Public License v3.0
Hello, I've installed all libs and tested on my localhost, but it doesnt works.
[-] Login failed root:[email protected]
Everytime and every server that I tried I got this. Do you what it can be?
You should get rid of setup.sh and use setup.py to unify the installation for any Linux distribution.
Then, the following command should be used:
python setup.py install {--user}
All output of the tool should be redirected to ~/.enumdb
or similar.
root@hw1-live:/srv/qwe/sqli-scanner/sqliv/enumdb# python enumdb.py -u root -p Password1 -brute 127.0.0.1 -t mssql
Traceback (most recent call last):
File "enumdb.py", line 446, in
main(args)
File "enumdb.py", line 395, in main
Thread(target=enum_db().db_main, args=(args, t,), daemon=True).start()
TypeError: init() got an unexpected keyword argument 'daemon'
root@hw1-live:/srv/qwe/sqli-scanner/sqliv/enumdb#
I tried to compile the py to be portable with the following command:
pyinstaller -D -F -n main -c "enumdb.py"
But when i run it i get the following error:
Starting enumdb v2.0.4
-------------------------
Traceback (most recent call last):
File "enumdb.py", line 446, in <module>
File "enumdb.py", line 395, in main
TypeError: __init__() got an unexpected keyword argument 'daemon'
[10146] Failed to execute script enumdb
In order to fix it i removed the daemon parameter in the Thread function
Thread(target=enum_db().db_main, args=(args, t,)).start()
It would be great to have a standard procedure (change param in pyinstaller? change source?), in the meantime here is my workaround (and it's working).
P.s. awsome project :)
[+] Connection established sa:[email protected]
[] Column: className Table: autoadmin_task_agents DB: msdb SRV:
(mssql)
[] Column: is_password_protected Table: backupmediaset DB: msdb SRV:
(mssql)
[*] Column: is_password_protected Table: backupset DB: msdb SRV: 10.60.111.107 (mssql)
Exception in thread Thread-1:
Traceback (most recent call last):
File "pymssql.pyx", line 447, in pymssql.Cursor.execute
File "_mssql.pyx", line 1011, in _mssql.MSSQLConnection.execute_query
File "_mssql.pyx", line 1042, in _mssql.MSSQLConnection.execute_query
File "_mssql.pyx", line 1175, in _mssql.MSSQLConnection.format_and_run_query
File "_mssql.pyx", line 1586, in _mssql.check_cancel_and_raise
File "_mssql.pyx", line 1630, in _mssql.maybe_raise_MSSQLDatabaseException
_mssql.MSSQLDatabaseException: (942, b"Database 'IGT' cannot be opened because it is offline.DB-Lib error message 20018, severity 14:\nGeneral SQL Server error: Check messages from the SQL Server\n")
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "./enumdb.py", line 197, in db_main
self.db_enum(class_obj, args.dbtype, con, outfile, target, args.column_search, args.report, args.verbose)
File "./enumdb.py", line 206, in db_enum
for table in db_class.get_tables(con, database):
File "./enumdb.py", line 165, in get_tables
for x in self.db_query(con, 'SELECT NAME FROM {}.sys.tables;'.format(database)):
File "./enumdb.py", line 152, in db_query
cur.execute(cmd)
File "pymssql.pyx", line 467, in pymssql.Cursor.execute
pymssql.OperationalError: (942, b"Database 'IGT' cannot be opened because it is offline.DB-Lib error message 20018, severity 14:\nGeneral SQL Server error: Check messages from the SQL Server\n")
`
[root@localhost enumdb]# python enumdb.py
File "enumdb.py", line 421
** Having trouble with inputs? Use '' around username & password **""".format(argv[0], version), formatter_class=argparse.RawTextHelpFormatter, usage=argparse.SUPPRESS)
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 447-448: truncated \uXXXX escape
Can't run in termux……
view https://github.com/termux/termux-packages
view https://github.com/sdrausty/TermuxArch
help for Following issue. Thanks.
$ python3 enumdb.py
Traceback (most recent call last):
File "enumdb.py", line 7, in
import MySQLdb
ImportError: No module named 'MySQLdb'
The stable tar-ball release (zip or .tar.gz) should appear at https://github.com/m8r0wn/enumdb/releases folder
You might also want to push it under http://pypi.python.org/
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.