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
<img style="display:none;" onload="show_login_status('Github', true)" | |
onerror="show_login_status('Github', false)" | |
src="https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffavicon.ico%3Fid%3D1" /> | |
<script> | |
function show_login_status(website_name, status) { | |
if (status) { | |
console.log("Logged into : " + website_name); | |
} else { | |
console.log("Not logged into : " + website_name); |
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
Java.perform(function (){ | |
var HookDetector = Java.use('org.nowsecure.cybertruck.detections.HookDetector'); | |
HookDetector.isFridaServerInDevice.implementation = function(){ | |
console.log("[->] HookDetector bypassed..."); | |
return false; | |
} | |
}); |
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
Java.perform(function (){ | |
var Challenge2 = Java.use('org.nowsecure.cybertruck.keygenerators.a'); | |
Challenge2.a.overload('[B', '[B').implementation = function(b1, b2){ | |
var returnEncryptedText = this.a(b1, b2); | |
console.log("[->] Flag2 Captured..."); | |
send(returnEncryptedText); | |
return returnEncryptedText; | |
} | |
}); |
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
import frida, sys | |
def append_zero(hex): | |
if len(hex) == 1: | |
return '0'+hex | |
return hex | |
def on_message(message, data): | |
if message['type'] == 'send': |
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
import string | |
r = "\000dslp}oQ\000 dks$|M\000h +AYQg\000P*!M$gQ\000" | |
r = list(str(r)) | |
r.reverse() | |
for i in range(len(r)): | |
if i % 8 == 0: | |
print("_", end="") | |
continue |
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
p = "V@]EAASB\022WZF\022e,a$7(&am2(3.\003" | |
p = list(str(p)) | |
for i in range(len(p) // 2): | |
p[i] = chr(ord(p[i]) ^ 0x32) | |
p[len(p) // 2 + 1 + i] = chr(ord(p[len(p) // 2 + 1 + i]) ^ 0x41) | |
p.reverse() | |
print("".join(p)) |