Giter Site home page Giter Site logo

cvar1984 / sqlscan Goto Github PK

View Code? Open in Web Editor NEW
218.0 6.0 33.0 1.11 MB

Quick SQL Scanner, Dorker, Webshell injector PHP

License: Other

PHP 100.00%
php sql scanner-web fuzzy-search geektool hacking pentesting penetration-testing pentest-tool pentest

sqlscan's Introduction

serps

ForTheBadge built-by-developers

GitHub license GitHub release PRs Welcome CodeFactor

sqlscan

sqlscan is quick web scanner for find an sql inject point. not for educational, this is for hacking.

use sitemap for best result sqlscan images

  • Simple to use
  • Multi platform
  • Fast af
  • Cool af

Installation

requires php to run.

PHP Depencies

  • ext-bz2
  • ext-curl
  • ext-mbstring

see composer.json for more information

For PC Linux debian based environments.

$ sudo apt install php php-bz2 php-curl php-mbstring curl
$ sudo curl https://raw.githubusercontent.com/Cvar1984/sqlscan/dev/build/main.phar --output /usr/local/bin/sqlscan
$ chmod +x /usr/local/bin/sqlscan
$ sqlscan http://example.gov --scan
$ sqlscan list_url.txt --scan

For Android Termux environments

$ apt install php curl
$ curl https://raw.githubusercontent.com/Cvar1984/sqlscan/dev/build/main.phar --output $PREFIX/bin/sqlscan
$ chmod +x $PREFIX/bin/sqlscan
$ sqlscan http://example.gov --scan
$ sqlscan list_url.txt --scan

build phar from source

download Box

$ composer install
$ box build

Todo

  • Quick shell code injector
  • Bypass waf
  • Url from json
  • report csv/xml/html/pdf/db ( composer dependcies )
  • multi threads ( pthread )

License

Copyright (c) 2019 <Cvar1984>

Licensed unter the Apache License, Version 2.0 or the MIT license, at your option.


Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Thanks for hundred likes

sqlscan's People

Contributors

chigivariu avatar cvar1984 avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sqlscan's Issues

Hello, I am a Chinese hacker. I saw your tool on github. I would like to exchange hacking techniques with you and learn from each other. I want to know how Chinese hackers and American hackers carry out infiltration attacks on targets, thank you

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.

[PHP] Progress Bar Fatal Error

After [#] Total available urls : (any number)
It runs the progress bar (https://packagist.org/packages/guiguiboy/php-cli-progress-bar).

However, results in fatal error (mb_strlen)

Should make this issue more visible.

PHP Fatal error:  Uncaught Error: Call to undefined function ProgressBar\mb_strlen() in phar:///usr/local/bin/sqlscan/vendor/guiguiboy/php-cli-progress-bar/ProgressBar/Manager.php:186
Stack trace:
#0 phar:///usr/local/bin/sqlscan/vendor/guiguiboy/php-cli-progress-bar/ProgressBar/Manager.php(169): ProgressBar\Manager->clearRightCharacters()
#1 phar:///usr/local/bin/sqlscan/vendor/guiguiboy/php-cli-progress-bar/ProgressBar/Manager.php(219): ProgressBar\Manager->display()
#2 phar:///usr/local/bin/sqlscan/vendor/guiguiboy/php-cli-progress-bar/ProgressBar/Manager.php(227): ProgressBar\Manager->update()
#3 phar:///usr/local/bin/sqlscan/src/SqlScan.php(55): ProgressBar\Manager->advance()
#4 phar:///usr/local/bin/sqlscan/main.php(24): Cvar1984\SqlScan\SqlScan->scan()
#5 /usr/local/bin/sqlscan(10): require('phar:///usr/loc...')
#6 {main}
  thrown in phar:///usr/local/bin/sqlscan/vendor/guiguiboy/php-cli-progress-bar/ProgressBar/Manager.php on line 186

PHP Fatal Error: Declaration of DOMElement::getAttribute(string $qualifiedName):

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

To Reproduce
Steps to reproduce the behavior:

  1. Attempt to run --dork on URL

Expected behavior
Tool runs --dork functionality on target URL

Desktop (please complete the following information):

  • OS: Kali Linux
  • PHP Version 8.2.12

"PHP Fatal error: Declaration of DOMElement::getAttribute(string $qualifiedName): string must be compatible with Serps\Core\Dom\DomNodeInterface::getAttribute($name) in phar:///usr/local/bin/sqlscan/vendor/serps/core/src/Core/Dom/DomElement.php on line 0"

PHP Fatal error

Hello.

I set all as described in the Kali and error appears:

root@kali:~# sqlscan http://demo.testfire.net
PHP Fatal error: Uncaught PharException: bz2 extension is required for bzip2 compressed .phar file "/usr/local/bin/sqlscan" in /usr/local/bin/sqlscan:9
Stack trace:
#0 /usr/local/bin/sqlscan(9): Phar::webPhar(NULL, 'index.php')
#1 {main}
thrown in /usr/local/bin/sqlscan on line 9

123

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.