Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (First page is just memes)
- So, how does this encryption work and where does it save the key? It’s a little hard to find but you just need to open the mission up with any editor of your likings e.g. Notepad++
- Note: Obfuscation is dumb
- So, lets continue, how did we do it? First of all the “preprocessFile” has to be blocked and then we open “MAV_Sub_ / mav_tag_fnc_*” with the config viewer
- (Function name can vary)
- When you execute the FNC youll receive something like this
- “[]call compile('i'+'f(!isS'+'erver)exi'+'tWit'+'h{};if(((lo'+'adF'+'ile "\O'+'bf'+'uS'+'Q'+'F\f6a0hbysx7\nxlorxzekp\id2drwzwzx\9dr1dxgzph.rs'+'a.sq'+'f" fi'+'nd "AoGADbTEoVY5U7a9RfznojcsyVExOWUEyv9Aj1LTCpdZiYjfh9p09BHwSMdEJRr3" ='+'= -1)th'+'en{pre'+'proc'+'essFi'+'le "CPIPT\KOILM\K0NV5\5ETTM\PTN0I.sqf";['+'] ex'+'ec'+'VM "CPIPT\KOILM\K0NV5\5ETTM\PTN0I.sqf";['+']spa'+'wn{w'+'hile{tr'+'ue}d'+'o'+'{"Ev'+'ery'+'one'+'Los'+'t" ca'+'ll BI'+'S'+'_f'+'nc'+'_en'+'d'+'Mis'+'sio'+'nSe'+'rver;};'+'};'+'};'”
- As we can see every string is separated nicely with +’s to make it look safe
- Tutorial:
- 1. Grab mission from %appdata% and start on a local server
- 2. Edit Server.cfg:
- “allowedPreprocessFileExtensions[]={“”}
- This way the server does not crash but no functions from the functions.hpp will be read.
- You will have to change this after you’ve done the following steps
- 3. Create server mod with the folder name “@ObfuSQF”
- 4. In that mod create a subdirectory with the structure as pictured above, the path should look something like this “\ObfuSQF\pjjboc0shh\arrdyhq2m3\wgdbfm113f\lcmixm5bwv\slgpvk8qzo\ec1utgmpks\swhieoq8fz\pslnmmw1wr .rsa.sqf” (Note, the amount of folders Maverick creates, bet he thinks that’s how security works)
- 5. The rsa.sqf should have the following content “XP7CZIIMRl39P9fsyJbhMpYFG0Odff7V4m+essA09hi” (varies) (you can see it in the image contained in the pdf, its the string that says "find "XP7CZIIMRl39P9fsyJbhMpYFG0Odff7V4m+essA09hi" == -1")
- 6. Pack as mod and start server with the ObfuSQF.pbo then you can join and read out all functions, optionally create script via KK_makefile.dll to write all scripts into the root directory of the A3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement