
Modlishka. रिवर्स प्रॉक्सी.
Modlishka एक मुक्त-स्रोत पैठ परीक्षण उपकरण है जो man-in-the-middle प्रॉक्सी के रूप में कार्य करता है। इसने ब्राउज़र-आधारित HTTP ट्रैफ़िक प्रवाह को संभालने के लिए एक नया तकनीकी दृष्टिकोण प्रस्तुत किया, जो इसे क्लाइंट पर किसी अतिरिक्त प्रमाणपत्र की स्थापना की आवश्यकता के बिना, एक एकल डोमेन पर TLS और non-TLS दोनों, मल्टी-डोमेन गंतव्य ट्रैफ़िक को पारदर्शी रूप से प्रॉक्सी करने की अनुमति देता है।
2019 में, Modlishka पहला सार्वजनिक रूप से जारी शोध उपकरण था जिसने एक नई Adversary-in-the-Middle (AitM) तकनीक का प्रदर्शन किया जो कई सामान्य 2FA कार्यान्वयनों को बायपास करने में सक्षम थी — जागरूकता बढ़ाने और वास्तविक दुनिया की सुरक्षा में सुधार करने के उद्देश्य से।
नोट: यह परियोजना केवल अधिकृत शोध और पेशेवर सुरक्षा परीक्षण के लिए है।
सुरक्षा परीक्षण:
सामान्य:
सामान्य:
सुरक्षा:
एक उदाहरण 2FA योजना (SMS-आधारित बाईपास) के विरुद्ध Modlishka कार्य करते हुए:
go install का उपयोग करना:
go install github.com/drk1wi/Modlishka@latest
मैनुअल बिल्ड:
git clone https://github.com/drk1wi/Modlishka.git
cd Modlishka
make
./dist/proxy -h
Usage of ./dist/proxy:
-cert string
base64 encoded TLS certificate
-certKey string
base64 encoded TLS certificate key
-certPool string
base64 encoded Certification Authority certificate
-config string
JSON configuration file. Convenient instead of using command line switches.
-controlCreds string
Username and password to protect the credentials page. user:pass format
-controlURL string
URL to view captured credentials and settings. (default "SayHello2Modlishka")
-credParams string
Credential regexp with matching groups. e.g.: base64(username_regex),base64(password_regex)
-debug
Print debug information
-disableSecurity
Disable proxy security features like anti-SSRF. Disable at your own risk.
-disableDynamicSubdomains
Translate URL domain names to be the proxy domain
-dynamicMode
Enable dynamic mode for 'Client Domain Hooking'
-forceHTTP
Strip all TLS from the traffic and proxy through HTTP only
-forceHTTPS
Strip all clear-text from the traffic and proxy through HTTPS only
-allowSecureCookies
Allow secure cookies to be set. Useful when using HTTPS and cookies have SameSite=None
-ignoreTranslateDomains string
Comma separated list of domains to never translate and proxy
-jsRules string
Comma separated list of URL patterns and JS base64 encoded payloads that will be injected
e.g.: target.tld:base64(alert(1))
-listeningAddress string
Listening address (default "127.0.0.1")
-listeningPortHTTP int
Listening port for HTTP requests (default 80)
-listeningPortHTTPS int
Listening port for HTTPS requests (default 443)
-log string
Local file to which fetched requests will be written (appended)
-pathHostRules string
Comma separated list of URL path patterns and target domains
e.g.: /path/:example.com,/path2:www.example.com
-plugins string
Comma separated list of enabled plugin names (default "all")
-postOnly
Log only HTTP POST requests
-proxyAddress string
Proxy that should be used (socks/https/http) e.g.: http://127.0.0.1:8080
-proxyDomain string
Proxy domain name that will be used e.g.: proxy.tld
-rules string
Comma separated list of string patterns and their replacements
e.g.: base64(old):base64(new),base64(older):base64(newer)
-staticLocations string
Comma separated list of FQDNs in location headers that should be preserved
-target string
Target domain name e.g.: target.tld
-targetRes string
Comma separated list of domains that were not translated automatically
e.g.: static.target.tld
-terminateTriggers string
Comma separated list of URLs from target's origin which will trigger session termination
-terminateUrl string
URL to which a client will be redirected after session termination
-trackingCookie string
Name of the HTTP cookie used to track the client (default "id")
-trackingParam string
Name of the HTTP parameter used to track the client (default "id")
Modlishka इस लाइसेंस के अंतर्गत लाइसेंस प्राप्त है।
व्यावसायिक अनुप्रयोगों के लिए, कृपया लाइसेंसिंग व्यवस्था के लिए लेखक से संपर्क करें।
लेखक: Modlishka को Piotr Duszyński (@drk1wi) द्वारा डिज़ाइन और कार्यान्वित किया गया था। सर्वाधिकार सुरक्षित।
इस परियोजना में भाग लेने वाले योगदानकर्ताओं की सूची देखें।
यह उपकरण केवल शैक्षिक उद्देश्यों के लिए बनाया गया है और इसका उपयोग केवल वैध पैठ परीक्षण या शोध में किया जा सकता है। लेखक अपने उपयोगकर्ताओं द्वारा की गई किसी भी कार्रवाई की जिम्मेदारी नहीं लेता है।