americo / sqlifinder Goto Github PK
View Code? Open in Web Editor NEWSQL Injection Vulnerability Scanner made with Python
SQL Injection Vulnerability Scanner made with Python
i have something i use alot in my own scripts to save the time writing os.system commands so, here it is
change this
def clear():
if 'linux' in sys.platform:
os.system('clear')
elif 'darwin' in sys.platform:
os.system('clear')
else:
os.system('cls')
to this
def clear():
print("\x1b[H\x1b[2J\x1b[3J")
this will clear every terminal, on any system no matter if its UNIX, Linux, Windows, MACOS, Iphone, Android, whatever. helps alot dont it? ;o
really copying code?
So I’m not going to really “ complain “ about this more than I am helping out, I notice you use the if system == to use a clear command, well there is a very simple solution to this, this works for all platforms and systems but instead of taking up extra lines you could always do this
‘’’python
if name == “main”:
print(“ \x1b[H\x1b[2J\x1b[3J”)
banner()
main()
‘’’
It took me a special someone to come along and teach me this but this is a very simple thing to both understand while optimizing code for cross platform applications, it will do the same thing clear and CLs will do but instead chomp down say the 7-8 lines the if system == whatever os, and this also works in any language and platform, it’s highly suggested to use it cause even I have found out in other languages when executing OS commands, windows will usually error out and say “ cls “ or “ CLS “ is not an executable path, so it just prevents a lot of heard ache working with cross platform applications
Happy coding! :D
Hi there, it's a really nice tool
Can you add url list support? So we can scan from a text file
running on Linux kali 5.16.0-kali5-amd64 #1 SMP PREEMPT Debian 5.16.14-1kali1 (2022-03-15) x86_64 GNU/Linux
ran it against a local vuln app and i got this error
___ ____ __
___ ___ / () ()__ / / ____
(-</ _ `/ / / / / _ / _ / -) /
//_, /////////_,/_//
/_/ ~ by @americo v1.0
Traceback (most recent call last):
File "/home/kali/Downloads/sqlifinder/sqlifinder.py", line 93, in
main()
File "/home/kali/Downloads/sqlifinder/sqlifinder.py", line 61, in main
crawled_urls = crawler.spider(f"http://{args.domain}", 10)
File "/home/kali/Downloads/sqlifinder/core/crawler.py", line 39, in spider
return links
UnboundLocalError: local variable 'links' referenced before assignment
It only parses domain url .com, .net, is there any way to modify part of the code so that it parses other domains of government sites, such as (edu.pe, gob.pe, .org) ??? It would help me a lot, you can support me.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.