
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)
98 lines
No EOL
2.2 KiB
C
98 lines
No EOL
2.2 KiB
C
/*
|
|
source: https://www.securityfocus.com/bid/180/info
|
|
|
|
Beginning April 1, 2001 and continuing through April 8, 2001, Windows applications will be offset by one hour - even though the system clock will show the proper time. This is due to the MSVCRT.DLL not correctly interpreting Daylight Savings time during any year in which April 1st falls on a Sunday. In these instances, the DLL is fooled into thinking that DST begins one week later on April 8th.
|
|
|
|
MSVCRT.DLL shipping with MS VC++ versions 4.1, 4.2, 5.0 and 6.0 are thought to be vulnerable.
|
|
*/
|
|
|
|
//
|
|
// APRIL1.C -- Simple test program for the "April's Fools 2001" bug
|
|
//
|
|
// by Richard M. Smith (rms@pharlap.com)
|
|
// copyright (C) 1999
|
|
//
|
|
|
|
#include <stdio.h>
|
|
#include <time.h>
|
|
#include <string.h>
|
|
|
|
#define SECS_PER_HOUR (60 * 60)
|
|
#define SECS_PER_DAY (24 * SECS_PER_HOUR)
|
|
#define SECS_PER_YEAR (365 * SECS_PER_DAY)
|
|
|
|
#define START (3 * SECS_PER_DAY)
|
|
#define INCR (23 * SECS_PER_HOUR)
|
|
#define MAXTIMES ((0x80000000L - START) / INCR)
|
|
|
|
void print_time(time_t mytime);
|
|
|
|
char *month_tab[] =
|
|
{
|
|
"January",
|
|
"February",
|
|
"March",
|
|
"April",
|
|
"May",
|
|
"June",
|
|
"July",
|
|
"August",
|
|
"September",
|
|
"October",
|
|
"November",
|
|
"December"
|
|
};
|
|
|
|
char *dow_tab[] =
|
|
{
|
|
"Sunday",
|
|
"Monday",
|
|
"Tuesday",
|
|
"Wednesday",
|
|
"Thursday",
|
|
"Friday",
|
|
"Saturday"
|
|
};
|
|
|
|
int main()
|
|
|
|
{
|
|
|
|
print_time(0x3AC796D0); // Sunday, April 1, 2001
|
|
print_time(0x3ACF2B70); // Saturday, April 7, 2001
|
|
print_time(0x3AD06EE0); // Sunday, April 8, 2001
|
|
return 0;
|
|
|
|
}
|
|
|
|
//
|
|
// print_time -- print out a time_t value converted by localtime()
|
|
//
|
|
|
|
void print_time(time_t mytime)
|
|
|
|
{
|
|
|
|
char month[100];
|
|
char dow[100];
|
|
struct tm *tmp;
|
|
|
|
tmp = localtime(&mytime);
|
|
if(tmp == NULL)
|
|
{
|
|
printf("0x%08lX = Invalid time\n", mytime);
|
|
return;
|
|
}
|
|
if(tmp->tm_mon >= 0 && tmp->tm_mon <= 11)
|
|
strcpy(month, month_tab[tmp->tm_mon]);
|
|
else
|
|
sprintf(month, "BadMonth=%d", tmp->tm_mon);
|
|
if(tmp->tm_wday >= 0 && tmp->tm_wday <= 6)
|
|
strcpy(dow, dow_tab[tmp->tm_wday]);
|
|
else
|
|
sprintf(month, "BadDOW=%d", tmp->tm_wday);
|
|
printf("0x%08lX = %s, %s %d, %d -- %d:%02d:%02d %s -- DOY=%d\n",
|
|
mytime, dow, month, tmp->tm_mday, tmp->tm_year + 1900,
|
|
tmp->tm_hour, tmp->tm_min, tmp->tm_sec, _tzname[tmp->tm_isdst != 0],
|
|
tmp->tm_yday);
|
|
return; |