-
Notifications
You must be signed in to change notification settings - Fork 0
/
notes.txt
61 lines (58 loc) · 1022 Bytes
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Imports
ADVAPI32
GetUserNameA
KERNEL32
AllocConsole
GetCommandLineA
GetComputerNameA
GetCurrentDirectoryA
USER32
FindWindowA
ShowWindow
WS2_32
closesocket
connect
htons
inet_addr
Functions
Exports
Strings
"CRT"
"libgcc"
entry
_mainCRTStartup
_main
HWND
AllocConsole
hWnd = FindWindowA
ShowWindow(hWnd,1)
disclaimer(1)
revshell()
ReverseShellSetup
WSAStarup
tcpsock
sockaddr
htons
my_conn
closesocket
WSACleanup
exit(0)
whoami - (recv_buff == whoami)
Returns_GetUserNameA(lpBuffer)
send(lpBuffer)
memset(recv_buff)
pwd - (recv_buff == pwd)
Returns_GetCurrentDirectoryA(lpBuffer)
send(lpBuffer)
memset(recv_buff)
hostname (recv_buff == hostname)
Returns_GetComputerNameA(lpBuffer)
send(lpBuffer)
memset(recv_buff)
exit - (recv_buff == exit)
closesocket
WSACleanup
exit(0)
else "Invalid Command"
send(&InvalidCommand)
memset(recv_buff)