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
- process status
-
TODO
- user binding ? -> socket.gethostname()
- Does port need to be returned?
- setrlimit testing
- logging system (V)
- 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