File tree 1 file changed +31
-0
lines changed
1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ cSploitd
2
+ ======
3
+
4
+ a simple command dispatcher.
5
+
6
+ what it does
7
+ ---------------
8
+ cSploitd receive your command requests, start them as children and report to you their output and exit code.
9
+ it allow you to send data to a child stdin.
10
+ a cool feature that cSploitd has it's the handlers.
11
+ handlers are plugins that pre-parse programs stdin and stdout.
12
+ for example we can parse the output of nmap in search of useful infos and send them alone,
13
+ saving thousands of bytes.
14
+
15
+
16
+ how it work
17
+ -------------
18
+
19
+ cSploitd has 6 kind of threads:
20
+
21
+ - main: listen for new connection on the main socket.
22
+ - connection reader: read messages from a connected client.
23
+ - connection worker: process received messages.
24
+ - connection writer: send messages to clients.
25
+ - child: read process stdout, stderr and exit code.
26
+ - reaper: join every thread found in the graveyard.
27
+
28
+ ` main ` , ` reaper ` are unique, only on thread of this kind is running.
29
+ on the other hand we have:
30
+ - three ` connection * ` thread for every connected client.
31
+ - one ` child ` thread for every running process.
You can’t perform that action at this time.
0 commit comments