Open daniel-infosec opened 5 years ago
osascript "do shell script "echo \"import sys,base64,warnings;warnings.filterwarnings('ignore');exec(base64.b64decode('Zj1vcGVuKCIvdG1wL3QxMTU1bS50eHQiLCJ3KyIpCmYud3JpdGUoInQxMTU1bS50eHQiKQpmLmNsb3NlKCk='));\" | python &""
Python code does the following
f=open("/tmp/t1155m.txt","w+") f.write("t1155m") f.close()
osascript "do shell script "echo \"import sys,base64,warnings;warnings.filterwarnings('ignore');exec(base64.b64decode('Zj1vcGVuKCIvdG1wL3QxMTU1bS50eHQiLCJ3KyIpCmYud3JpdGUoInQxMTU1bS50eHQiKQpmLmNsb3NlKCk='));\" | python &""
Python code does the following