Giter Club home page Giter Club logo

sqlgo's Introduction

sqlgo

Unlocking Data Safely with SQLGO: Your Shield Against Vulnerabilities!

What is sqlgo project?

sqlgo is a tool which designed for SQL injection test for the educational targets,not illegal.remember: FOR ETHICAL USE ONLY!!!

how to install sqlgo?

git clone --depth 1 https://github.com/HeisenbergCipherCracker/sqlgo.git

copy the above command to the terminal and navigate to the sqlgo directory make sure you have git installed on your system.

dependencies

  • use the following commands to install the sqlgo dependencies using pip
pip install -r requirements.txt
pip3 install -r requirements.txt

for window OS

python -m pip install -r requirements.txt

python3 -m pip install-r requirements.txt for unix based systems

Usage of --beep option

Note: python3.13 alpha will not support this feature! and we have been acknowledged that this options was not working peoperly on some devieces. if you wish to you use --beep option, you have to install the follwing libraries:

simpleaudio pydub

you can run :

python3 -m pip install -r extrarequirements.txt

Options

Show the help menu

python3 sqlgo.py --help

Update the program

python3 sqlgo.py --update

Launch attack

python3 sqlgo.py -u http://www.target-url?id=1 --level <level> --verbose <verbose> --tamper <tamper> --dbms<DBMS> --dump

Features of sqlgo

  1. Supports SQL Injection attacks against MySQL
  2. Support of sending the different payloads including stack query , time delay and union all payload and other strong payloads.
  3. provides lot of tamper scripts to tamper the payloads to bypass WAF or Intrusion detection systems (IDS).
  4. Provides various encoding techniques to encode
  5. Automatic sql injection vulnerability detection and scanner

How do i report the bugs?

bugs will be accepted if they exists and you can report it from the github page of sqlgo. you can go to the issues tab in the github and report the bug in the clear sentence.

Persian Translation : https://github.com/HeisenbergCipherCracker/sqlgo/blob/main/doc/translations/farsi.md

French Translation : https://github.com/HeisenbergCipherCracker/sqlgo/blob/main/doc/translations/french.md

Chinese Translation : https://github.com/HeisenbergCipherCracker/sqlgo/blob/main/doc/translations/chinese.md

Bulgarian Translation: https://github.com/HeisenbergCipherCracker/sqlgo/blob/main/doc/translations/bulg.md

sqlgo's People

Contributors

mirmohammadd avatar

Stargazers

 avatar  avatar Niko Tidar Lantang Perkasa avatar  avatar

Watchers

 avatar

sqlgo's Issues

request issue

Traceback (most recent call last):
File "/root/sqlgo/src/core/controler/controller.py", line 54, in heuristic_injection_test_union_based
response = urllib.request.urlopen(request)
File "/usr/lib/python3.10/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.10/urllib/request.py", line 519, in open
response = self._open(req, data)
File "/usr/lib/python3.10/urllib/request.py", line 536, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
result = func(*args)
File "/usr/lib/python3.10/urllib/request.py", line 1391, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/usr/lib/python3.10/urllib/request.py", line 1352, in do_open
r = h.getresponse()
File "/usr/lib/python3.10/http/client.py", line 1375, in getresponse
response.begin()
File "/usr/lib/python3.10/http/client.py", line 318, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.10/http/client.py", line 279, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/lib/python3.10/socket.py", line 705, in readinto
return self._sock.recv_into(b)
File "/usr/lib/python3.10/ssl.py", line 1303, in recv_into
return self.read(nbytes, buffer)
File "/usr/lib/python3.10/ssl.py", line 1159, in read
return self._sslobj.read(len, buffer)

Fixes

Traceback (most recent call last):
File "/Users/alimirmohammad/sqlgo/sqlgo.py", line 2, in
from lib.core.tester.gather import gather_exploit
File "/Users/alimirmohammad/sqlgo/lib/core/tester/gather.py", line 37, in
from lib.core.tester.useragentparam.useragent import crawler
File "/Users/alimirmohammad/sqlgo/lib/core/tester/useragentparam/useragent.py", line 70, in
_req = requests.get(_url)
^^^^^^^^^^^^^^^^^^
File "/Users/alimirmohammad/sqlgo/thirdparty/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/alimirmohammad/sqlgo/thirdparty/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/alimirmohammad/sqlgo/thirdparty/requests/sessions.py", line 575, in request
prep = self.prepare_request(req)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/alimirmohammad/sqlgo/thirdparty/requests/sessions.py", line 486, in prepare_request
p.prepare(
File "/Users/alimirmohammad/sqlgo/thirdparty/requests/models.py", line 368, in prepare
self.prepare_url(url, params)
File "/Users/alimirmohammad/sqlgo/thirdparty/requests/models.py", line 439, in prepare_url
raise MissingSchema(
thirdparty.requests.exceptions.MissingSchema: Invalid URL 'None': No scheme supplied. Perhaps you meant https://None?

Add more documents

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Error: 3-23 01:07:31] [ERROR] 'int' object has no attribute 'isspace'

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

None type url issue

Traceback (most recent call last):
File "/Users/alimirmohammad/sqlgo/sqlgo.py", line 2, in
from lib.core.tester.gather import gather_exploit
File "/Users/alimirmohammad/sqlgo/lib/core/tester/gather.py", line 37, in
from lib.core.tester.useragentparam.useragent import crawler
File "/Users/alimirmohammad/sqlgo/lib/core/tester/useragentparam/useragent.py", line 67, in
crawler = Crawler(_url)
^^^^^^^^^^^^^
File "/Users/alimirmohammad/sqlgo/lib/core/tester/useragentparam/useragent.py", line 25, in init
self.request = urllib.request.Request(url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 322, in init
self.full_url = url
^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 348, in full_url
self._parse()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 377, in _parse
raise ValueError("unknown url type: %r" % self.full_url)
ValueError: unknown url type: 'None'

FIXES

Exception in thread Thread-11:
Traceback (most recent call last):
File "/opt/homebrew/Cellar/[email protected]/3.12.1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
self.run()
File "/opt/homebrew/Cellar/[email protected]/3.12.1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/threading.py", line 1010, in run
self._target(*self._args, **self._kwargs)
TypeError: 'tuple' object is not callable

ISSUES

Exception in thread Thread-11:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py", line 982, in run
self._target(*self._args, **self._kwargs)
TypeError: 'tuple' object is not callable

thread 2o issue

Exception in thread Thread-20:
Traceback (most recent call last):
File "/opt/homebrew/Cellar/[email protected]/3.12.1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
self.run()
File "/opt/homebrew/Cellar/[email protected]/3.12.1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/threading.py", line 1010, in run
self._target(*self._args, **self._kwargs)
TypeError: 'bool' object is not callable

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.