Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
jsleak — a Go code to detect leaks in JS files via regex patterns | Kitploit
Tools/GitHubGitHub/0xteles/jsleak
OSINT (Open Source Intelligence)ReconnaissanceVulnerability ScannersInformation GatheringWeb SecuritySecret DetectionArchived
GitHub0xteles/jsleak

jsleak

a Go code to detect leaks in JS files via regex patterns

View Repository
151284 years agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

jsleak

jsleak is a tool to identify sensitive data in JS files through regex patterns. Although it's built for this, you can use it to identify anything as long as you have a regex pattern for it.

How to install

Directly:

root@kitploit:~
{your package manager} install pkg-config libpcre++-dev
go get github.com/0xTeles/jsleak/v2/jsleak

Compiled: release page

How to use

root@kitploit:~
-json string
        [+] Json output file
-pattern string
        [+] File contains patterns to test
-timeout int
        [+] Timeout for request in seconds (default 5)
-verbose
        [+] Verbose Mode

Demo

root@kitploit:~
cat urls.txt | jsleak -pattern regex.txt
[+] Url: http://localhost/index.js
[+] Pattern: p([a-z]+)ch
[+] Match: peach

Regex list

  • https://github.com/odomojuli/RegExAPI
  • https://github.com/KaioGomesx/JSScanner/blob/main/regex.txt

Inspired by

  • Necessity
  • https://github.com/0x240x23elu/JSScanner
  • https://github.com/KaioGomesx/JSScanner

Thanks

@fepame, @gustavorobertux, @Jhounx, @arthurair_es, @le0nard01

Download Tool