Giter VIP home page Giter VIP logo

bullet's Introduction

[SxNade

Bullet

Capture

Bullet is a Remotely Tigerrable powerful Deadman switch

MADE BY-SxNade

when Triggered

(of --> to)

Capture


INSTALLING

to install the required dependencies run the following commands in order

1 chmod +x install.sh

2 ./install.sh

HOW DOES BULLET WORK?

Bullet comes with Two Python Scripts bullet.py and dead.py

Bullet.py can be run individualy with respective arguments

python3 bullet.py file-name(path) start

KEEP A NOTE THAT 3rd Argument can be anything when running bullet.py individually..It's required to just full fill the sys.argv condition(required for switch.py)

Bullet can be given a password-file name as argument to script and when run successfully bullet will encrypt all the passwords present in that file and write them to another file in encrypted form

PLEASE KEEP A NOTE THAT AFTER SUCCESSFULL ENCRYPTION OF PASSWORDS THE ORIGINAL FILE CONTAINING UNENCRYPTED PASSWORDS WILL BE DELETED

INTEGRATING DEAD-MAN SWITCH

IN ORDER TO UTILIZE BULLET AS DEAD-MAN SWITCH YOU CAN RUN A LOCAL PYTHON SERVER ON LETS SAY PORT 8080 --- AND THEN RUN dead.py with the URL of server as argument

RUNNING DEAD-MAN SWITCH

WE WILL START BY RUNNING A PYTHON SERVER ON A SPECIFIC PORT LETS SAY 8080 WITH THE FOLLOWING COMMAND

the directory in which the python server is run has a test.txt file which will act as a trigger to our DEAD-MAN Switch

python -m SimpleHTTPServer 8080

Capture

the current directory also contains a file test.txt

NOW THAT WE HAVE OUR SERVER RUNNING WE WILL RUN OUR SCRIPT dead.py ALONG WITH OUR SERVER RUNNING

BUT BEFORE WE WILL ALSO CREATE A SIMPLE PASSWORD LIST

Capture

I HAVE CREATED A PASSWORD LIST NAMED pass.txt AND NOW ITS TIME TO RUN OUR DEADMAN SWITCH

python3 dead.py <password-file-name(or path)>

IN our scenario this command will be python3 pass.txt http://192.168.0.108:8080/test.txt

we will see that a timer will be displayed

Capture

we will not hit ctrl+c and will let the program continue

AFTER 30 SECONDS OF COUNTDWON

Capture

WE CAN SEE FROM THE IMAGE ABOVE THAT THE SWITCH IS MAKING A HTTP GET REQUEST EVERY 5 SECONDS FOR THE test.txt FILE WHICH WE CREATED BEFORE

NOW WE WILL REMOVE THE test.txt FILE FROM THE PYTHON SERVER AND SEE HOW THE SWITCH REACTS TO IT

Capture

we can see that as soon as we removed the file test.txt we get a message in terminal that switch is triggered(we can also see the file not found error in server logs)

AFTER THE SWITCH GETS TRIGGERED FOLLOWING HAPPENS

Capture

we get notified that the encrypted passwords have been written to a ps.txt file

NOW LETS JUST VIEW THE CONTENTS OF THE ps.txt FILE

Capture

AND ALL THE PASSWORDS ARE NOW ECRYPTED AND SAVED TO ps.txt FILE

The original file pass.txt containing the unencrypted passwords has been removed

MORE_INFO

The capabilities of bullet can be extended from what they are right now-- that is the code can be modified to send emails to specified address before dying!

OR

IT can also act as a Triggrable ransomware

ADDITIONS

MORE ADDITIONAL FEATURES WILL BE ADDED BULLET IN UPCOMING DAYS

MAKE_IT_BETTER

In order to make bullet even better contribute or report any bugs or fixes required

git clone https://github.com/SxNade/Bullet

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.