Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.
/ obfuscation Public archive

Simple obfuscation program. Written using C to obfuscate .cfg file for CS:GO.

License

Notifications You must be signed in to change notification settings

Iipal/obfuscation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

obfuscation

Installation:

Use make for compiling all files.

  • make: Compile all.
  • make clean: Delete temporary files.
  • make fclean: Delete executable ./obf file & libft.a library.
  • make re: It's rules - make fclean & make in one.

Usage:

./obf [flags] [files]

Flags:

  • -w: Delete whitespaces and commentary from files.
  • -o: Obfuscate all lines in file(concatenate lines to one if result line length less than this value).
  • -r: Rename all variables in files using Caesar Cipher with this value.
  • -f: Generate fake commands in End of Lines if concated line lenght less than 510 sumbols.
Note: Minimum arguments for program is 2. Flags in first argument and minimum 1 file for correct work.

Examples:

Example #1:
$ ./obf -wro file1.cfg file2.cfg
        file1.cfg:
Source file reading: OK.
Cuting whitespaces: OK.
Encrypting: OK.
Obfuscating: OK.
Saving to file 'obf_file1.cfg': OK.
        file2.cfg:
Source file reading: OK.
Cuting whitespaces: OK.
Encrypting: OK.
Obfuscating: OK.
Saving to file 'obf_file2.cfg': OK.

Program will create 2 obfuscated files(obf_file1.cfg & obf_file2.cfg) where will be deleted whitespaces from all files, renamed all variables and obfuscated lines.

Example #2:
$ ./obf -wr file1.cfg file2.cfg file3.cfg file4.cfg
        file1.cfg:
Source file reading: OK.
Cuting whitespaces: OK.
Encrypting: OK.
Saving to file 'obf_file1.cfg': OK.
        file2.cfg:
Source file reading: OK.
Cuting whitespaces: OK.
Encrypting: OK.
Saving to file 'obf_file2.cfg': OK.
        file3.cfg:
Source file reading: OK.
Cuting whitespaces: OK.
Encrypting: OK.
Saving to file 'obf_file3.cfg': OK.
        file4.cfg:
Source file reading: OK.
Cuting whitespaces: OK.
Encrypting: OK.
Saving to file 'obf_file4.cfg': OK.

Program will create 4 obfuscated files(the same files like in example above), but if obf_file1.cfg (or the same program outputed files from program) already exist its will re-writed with new data where will be deleted whitespaces and renaming variables in all files.

About

Simple obfuscation program. Written using C to obfuscate .cfg file for CS:GO.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published