Skip to content
forked from BugBlocker/lotus

⚡ Fast Web Security Scanner written in Rust based on Lua Scripts 🌖 🦀

License

Notifications You must be signed in to change notification settings

JettChenT/lotus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ We're Looking for maintainers BugBlocker#39

lotus

⚡ Fast Web Security Scanner written in Rust based on Lua Scripts 🌖 🦀

Here at Lotus, we strive to make the process of automating your own web security module as simple and fast as possible Currently, there is a lot of work being done on this project, as there are a number of features that have not yet been implemented (OAST, reading headers, reading raw requests rather than URLs, crawler, custom report script, etc.), thus any contribution you may be able to make to this project will assist in ensuring its completion as soon as possible. Please feel free to view the github repository issues page and join our Discord server (https://discord.gg/nBYDPTzjSq) if you have any further questions.

Usage

It can be built from source, but ensure that you install the package openssl-dev before running this command

$ cargo install --git=https://github.com/rusty-sec/lotus/

You will then need to download the lua scripts from our github repository and run the following command

$ echo http://testphp.vulnweb.com/listproducts.php?cat=1 | lotus --scripts lotus-scripts/active --output test_out.json

image

Lua API

We are working on creating a new document for this list as soon as possible, as it has not been updated for a long time

Function About output type Example
is_match check if regex is matching with the text or not bool is_match("\d\d\d","123") -- true
println print message above the progress bar Nil println("XSS FOUND :D")
log_info logging with info level Nil log_info("Hello")
log_debug logging with debug level Nil log_debug("Hello")
log_warn logging with warn level Nil log_warn("Hello")
log_error logging with error level Nil log_error("Hello")
generate_css_selector generate Css Selector pattern for Xss payloads String generate_css_selector("<img/src=x onerror=alert(1)")
html_parse get the type of your payload in the response page List of Location Enum html_parse("<h1 hackerman><h1>","hackerman") -- AttrName
html_search Search with CSS Selector in HTML String html_search("<h1 hackerman>demo</h1>","h1")
change_urlquery add your payload to all url parameters Table (List) change_urlquery("http://google.com/?hello=1","hacker")
set_urlvalue Change custom parameter value in the url String set_urlvalue("http://google.com/?test=1","test","hacker")
urljoin Join Path to the url String urljoin("http://google.com/","/search")
send_req send Get http request to the url Table with ( url , status , body , errors ) send_req("https://google.com")

About

⚡ Fast Web Security Scanner written in Rust based on Lua Scripts 🌖 🦀

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%