
HTTP एजेंटों के माध्यम से socks कनेक्शन बनाने का एक उपकरण
HTTP एजेंटों को तैनात करके आंतरिक नेटवर्क में प्रवेश करें। Pivotnacci आपको एक सॉक्स सर्वर बनाने की अनुमति देता है जो HTTP एजेंटों के साथ संचार करता है। आर्किटेक्चर इस प्रकार है:
यह उपकरण महान reGeorg से प्रेरित था। हालाँकि, इसमें कुछ सुधार शामिल हैं:
पायथन पैकेज से:
pip3 install pivotnacci
रिपॉजिटरी से:
git clone https://github.com/blackarrowsec/pivotnacci.git
cd pivotnacci/
pip3 install -r requirements.txt # ओएस पर स्थापना से बचने के लिए
python3 setup.py install # ओएस पर स्थापित करने के लिए
$ pivotnacci -h
usage: pivotnacci [-h] [-s addr] [-p port] [--verbose] [--ack-message message]
[--password password] [--user-agent user_agent]
[--header header] [--proxy [protocol://]host[:port]]
[--type type] [--polling-interval milliseconds]
[--request-tries number] [--retry-interval milliseconds]
url
Socks server for HTTP agents
positional arguments:
url The url of the agent
optional arguments:
-h, --help show this help message and exit
-s addr, --source addr
The default listening address (default: 127.0.0.1)
-p port, --port port The default listening port (default: 1080)
--verbose, -v
--ack-message message, -a message
Message returned by the agent web page (default:
Server Error 500 (Internal Error))
--password password Password to communicate with the agent (default: )
--user-agent user_agent, -A user_agent
The User-Agent header sent to the agent (default:
pivotnacci/0.0.1)
--header header, -H header
Send custom header. Specify in the form 'Name: Value'
(default: None)
--proxy [protocol://]host[:port], -x [protocol://]host[:port]
Set the HTTP proxy to use.(Environment variables
HTTP_PROXY and HTTPS_PROXY are also supported)
(default: None)
--type type, -t type To specify agent type in case is not automatically
detected. Options are ['php', 'jsp', 'aspx'] (default:
None)
--polling-interval milliseconds
Interval to poll the agents (for recv operations)
(default: 100)
--request-tries number
The number of retries for each request to an agent. To
use in case of balanced servers (default: 50)
--retry-interval milliseconds
Interval to retry a failure request (due a balanced
server) (default: 100)
पासवर्ड s3cr3t के साथ एक एजेंट का उपयोग करना (एजेंट पक्ष पर AGENT_PASSWORD वेरिएबल को भी संशोधित किया जाना चाहिए):
pivotnacci https://domain.com/agent.php --password "s3cr3t"
एक कस्टम HTTP Host हेडर और एक कस्टम CustomAgent User-Agent का उपयोग करना:
pivotnacci https://domain.com/agent.jsp -H 'Host: vhost.domain.com' -A 'CustomAgent'
एक अलग एजेंट संदेश 418 I'm a teapot सेट करना (एजेंट पक्ष पर ACK_MESSAGE वेरिएबल को भी संशोधित किया जाना चाहिए):
pivotnacci https://domain.com/agent.aspx --ack-message "418 I'm a teapot"
पोलिंग अंतराल को 2 सेकंड पर सेट करके पहचान दर कम करें (जैसे WAF):
pivotnacci https://domain.com/agent.php --polling-interval 2000
Eloy Pérez (@Zer1t0) [ www.blackarrow.net - www.tarlogic.com ]
इस परियोजना में शामिल सभी कोड GNU AGPLv3 लाइसेंस की शर्तों के तहत लाइसेंस प्राप्त है।