This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| Attacker-side app for the emBridge LAN-context PoC. | |
| - Serves a lure page to the victim's browser (shows a GIF). | |
| - The page enumerates the victim's local emBridge API | |
| (https://localhost.emudhra.com:26769) cross-origin and streams the results | |
| back to this app. | |
| - This app prints the enumeration live on the attacker's CLI. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # a list of free email service providers' domain names | |
| # scraped from https://www.antideo.com/free-emails-list/ | |
| 1033edge.com | |
| 11mail.com | |
| 123.com | |
| 123box.net | |
| 123india.com | |
| 123mail.cl | |
| 123qwe.co.uk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget --recursive --no-parent http://example.com/configs/.vim/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo killall -STOP usbd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| import io | |
| import tldextract | |
| infile = "domains.txt" | |
| def extract(infile): | |
| with io.open(infile) as f: | |
| for line in f: |