gcobcqwe / Hitcon-Agent

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hitcon-Agent

  • Host Agent
    • POST /host/api/shellcode :[shellcode],[pid](optional)

      • shellcode -> base64 encode
      • pid -> kill orignal pid
      • Return
        • success or not
        • pid
        • e.g success,58211
    • POST /host/api/status :[pid]

      • request with pid number
      • Return
        • process status
          • e.g running/sleeping/ or 'Process Dead'
        • cpu / memroy usage
          • e.g ,0.1,969796

TODO

  1. user binding ? -> socket.gethostname()
  2. Does port need to be returned?
  3. setrlimit testing
  4. logging system (V)
  5. add john into GCP server

Bug Fixed

  • If user input is not valid , will crash the program
  • Agent shutdown when client close connection.
  • request with non-exist pid will crash the program

About

License:Other


Languages

Language:Python 100.0%