Git Product home page Git Product logo

cs564's Introduction

CS564

Redis file upload

How to use redis_file_upload.py Just run python3 redis_file_upload.py 192.168.20.21 /home/labuser/hello_world.txt /home/labuser/hello_world.txt, assume the target machine is running Redis, and the ip address is 192.168.20.21, the first directory is local file, and the second one is the directory of the remote one.

c2 readme

installation

create virutalenv:

sudo apt install -y python3.8-venv && sudo apt-get install -y python3-tk python3-dev && python3 -m venv ./c2_venv && source ./c2_venv/bin/activate

pip install -r requirements.txt

alternative:

instead of using virtual environment, just download everything inside the c2_venv which includes all the packages, libraries and binaries.

For python version, please refer to pycache

running

After activate virutal environment and install the requirements. We can start c2 client and implant.py file, make sure the IP address and port matches with the server.py:

python implant.py

open another terminal:

python c2.py

basic usage

keylogger over stegano

  1. start keylogger: input command 'key' in c2
  2. get keylogger results: type 'getkeylogger' in c2

keylogger will record all key typing and save the data into 'file.log' fie. When c2 requires the data, implant will send the data over stegano tunnel.If the traffic is captured, only image data will be leaked.

sql

Using 'sql {query}' command, the query string will be executed in implant server.

screenshot

Using 'shot' command, the implant will take a screenshot and send back it to c2. The c2 client will pop up a new window show the caputured image.

delete file

Using 'delete {filepath}' command, if the filepath file exists, it will be deleted. usages:

  1. directly delete file, command: delete fileName
  2. delete file within a directory, command: delete test/fileName Can delete implant.py itself withing killing the process

cs564's People

Contributors

huididin avatar suikac avatar ewu2023 avatar

Watchers

 avatar

Forkers

huididin

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.