Code Monkey home page Code Monkey logo

sherlocked's Introduction

Sherlocked v3. by [email protected] 2014 from Bitlackeys

About:
Sherlocked is a protector for scripts of any type. It uses a simple xor cipher
with a provided key. Unless '-r' option is used, the key is stored (encrypted)
within the binary and the binary will run without the user providing the key.
Sherlocked takes your script, encrypts it, and stores it in an output ELF x86_64
executable file. The ELF executable at runtime will decrypt the script and
temporarily write it to a random file in /tmp. It passes the script and cmdline
args to the interpreter, and then deletes the script. 

NOTE: Protected files that are also locked with a password (e.g. -r) won't accept
cmdline args. In other words you can't password protect your script and expect it
to take cmdline args. This is a temporary restriction due to my lazy programming
since there is no quick way to seperate the command line args from the password
you would have to give on the command line. If you don't like this, then implement
it yourself :)

Compile:
make

Usage:
./sherlocked <infile> <outfile> <key> <interpreter> [-r]

Options:
<infile> 	<-> The script file
<outfile> 	<-> The protected output file
<key>		<-> The key string used to encrypt the script
[-r] 		<-> Require the user who runs the protected executable supplies the key for it to run I.E ./script.elf <key>


sherlocked's People

Contributors

elfmaster avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.