My Laptop Died, So I Hacked with My Phone. No Excuse
文章描述了作者在笔记本电脑损坏后,利用手机和Termux构建了一个便携且高效的漏洞狩猎实验室的过程。通过安装必要的软件包、配置Go语言环境以及安装多种侦察和扫描工具(如subfinder、httpx、ffuf等),作者展示了如何在移动设备上进行漏洞发现和利用。此外,还提到了设置代理以增加隐蔽性以及创建词典列表用于模糊测试。最终目标是通过这个移动实验室进行有效的漏洞侦察和利用。 2025-6-9 06:12:7 Author: infosecwriteups.com(查看原文) 阅读量:11 收藏

127.0.0.1

“You don’t need a fancy laptop to hunt bugs. Just curiosity, creativity — and a little Terminal magic.”

A few weeks ago, my Lenovo IdeaPad 510s — my trusty sidekick — met a tragic fate. A spilled glass of water and a split-second of panic were all it took.

Instead of giving up, I asked myself:

"Can I do recon, scan for vulnerabilities, and fuzz targets… from my phone?"

Yes, I can. And so can you.

With just an Android device and the lightweight but powerful Termux, I built a full-featured bug bounty lab — portable, stealthy, and surprisingly effective.

Here’s how I did it.

⚙️ STEP 1: System Prep & Essentials

First things first — update and arm your mobile terminal with core tools.

pkg update && pkg upgrade -y 
pkg install -y git curl wget nano zip unzip tar tmux neofetch openssh 
pkg install -y python python-pip ruby nodejs php clang make 
pkg install -y rust golang 

These packages give you a robust, developer-friendly environment right on your phone.

🧠 STEP 2: Configure Go (Crucial for Recon Tools)

Go (Golang) is the backbone of many modern bug bounty tools.

Set up your paths properly:

echo 'export GOPATH=$HOME/go' >> ~/.bashrc 
echo 'export PATH=$PATH:$GOROOT/bin:$GOPATH/bin' >> ~/.bashrc 
source ~/.bashrc 

🧭 STEP 3: Install Recon & Probing Tools

Let’s turn your phone into a reconnaissance powerhouse.

🔍 Subdomain Enumeration

go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest 
go install github.com/tomnomnom/assetfinder@latest 
go install github.com/OWASP/Amass/v3/...@latest 

🌐 DNS & HTTP Probing

go install github.com/projectdiscovery/dnsx/cmd/dnsx@latest 
go install github.com/projectdiscovery/httpx/cmd/httpx@latest 

🔗 URL Harvesting

go install github.com/tomnomnom/waybackurls@latest 
go install github.com/lc/gau/v2/cmd/gau@latest 

💣 STEP 4: Fuzzing & Fast Scanning

ffuf — Fuzz web apps quickly:

go install github.com/ffuf/ffuf/v2@latest 

Nuclei — Automate vulnerability detection:

go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest 
nuclei -update-templates 

🧰 STEP 5: Custom Tools for Deeper Discovery

ParamSpider — Find hidden GET/POST parameters:

git clone https://github.com/devanshbatham/ParamSpider.git 
cd ParamSpider 
pip install -r requirements.txt 
python3 paramspider.py --help 

Dalfox — XSS scanner built for bug bounty:

go install github.com/hahwul/dalfox/v2@latest 

🛡️ STEP 6: Stealth & Anonymity (Optional but Recommended)

Install proxychains:

pkg install proxychains-ng -y 

Use it like this:

proxychains4 subfinder -d target.com 

Pair with a SOCKS5 proxy like Tor or a secure VPN for added stealth.

🗂️ STEP 7: Wordlists for Fuzzing & Discovery

mkdir -p ~/wordlists 
cd ~/wordlists 
git clone https://github.com/danielmiessler/SecLists.git 

Note: This may take some time to fully clone the wordlist

STEP 8: Testing the Environment

Set up a workspace:

mkdir ~/bugbounty 
cd ~/bugbounty 
tmux 

✅ Final Touch: Aliases for Fast Recon

Edit .bashrc:

nano ~/.bashrc 

Add:

alias recon='tmux new-session -s recon' 
alias updatebugtools="pkg update -y && pkg upgrade -y && nuclei -update-templates" 

Then apply:

source ~/.bashrc 

🔚 Wrap-Up: Resilient Hunting, Anywhere

I didn’t plan to become a mobile bug bounty hunter.
But necessity — and a broken laptop — sparked creativity.

Now, with Termux and a little script-fu, I’ve got a lean, stealthy, and capable bug bounty environment in my pocket.

“Tools are optional. Resourcefulness isn’t.”

I just set up an environment for bug bounty hunting but I didn’t fully use it because my schedule has less time for it.

I hope there will be no flaws in this setup. Soon I will give recon stack to find bugs efficiently.

Happy hunting! 🕵️‍♂️📱🐞


文章来源: https://infosecwriteups.com/my-laptop-died-so-i-hacked-with-my-phone-no-excuse-8dc8d030e43e?source=rss----7b722bfd1b8d---4
如有侵权请联系:admin#unsafe.sh