#include

Doom Editing Digest Vol. 01 Nr. 301

eZine's profile picture
Published in 
 · 24 Apr 2024
... hink this is some sick pathetic cry for attention and notoriety...well you just might be right. Have a great day, John ps. My mail can handle anything. UUEncode it, mime it, it won't matter. __________________________________________________________ #include <stupidstuff.h> #define USER "johnw" /* John Wakelin */ /* Johnw@datametrics.com */ main() /* (703) 385 7700 */ { while (isstupid(USER)) ignore(USER); } Reposted by Snider - ----------------------------------- Rainer.Spie ...

CLiT #22: Are You Mocking Me?

eZine's profile picture
Published in 
 · 7 Mar 2024
... ops to AlterEcho for fixing up */ /* all my shitty code -- you rule! */ /* Wow, the code looks pretty!@# */ /* You're so darn clever!$ */ /* NB. This comment was NOT included */ /* by AE. Thank you. */ #include <stdio.h> int main( void ) { char a; char *name; int age, number; printf("\nPlease enter your name:\n"); scanf("%s", &name); printf("\nWelcome %s to CLiT's Virtual Dating Services,\n", &name); printf("where we provide you with the ...

Hackers 4 Hackers #12

eZine's profile picture
Published in 
 · 7 Mar 2024
... ijke netwerkverbinding zijn * beide systemen moeten een min of meer stabiele load hebben * 'attacker' en slachtoffer mogen niet dezelfde box zijn (dan werkt je timing echt niet !!!) hieronder vind je een sample tool : ---] begin of file [--- #include <stdio.h> #include <sys/types.h> #include <unistd.h> #include <netdb.h> #include <sys/socket.h> #include <netinet/tcp.h> #include <arpa/telnet.h> #include <netinet/in.h> #include &l ...

Hackers 4 Hackers #11

eZine's profile picture
Published in 
 · 7 Mar 2024
... shellcode komt te staan: $ ltrace ./vuln 2>&1 | grep 256 malloc(256) = 0x080496a0 &fd overwriten we dus met 0x08049650 - 12, en &bk overwriten we met 0x080496a0 + 8 (het adres van onze shellcode). Onze exploit wordt nu als volgt: #include <string.h> #include <unistd.h> #define GOT_ENTRY 0x08049650 // het adres van de GOT entry van free() #define SHELLCODE 0x080496a0 + 8 // het adres van onze shellcode #define DUMMY 0xb0efb0ef // een dummy value cha ...

Hackers 4 Hackers #0F

eZine's profile picture
Published in 
 · 7 Mar 2024
... l handig. Doe ermee wat je wil :) description: een neuron die de AND logic operator leert dmv supervised training met de Hebb learning rule. je kan dingen aanpassen om te kijken hoe het trainen beter zou kunnen (de learningrate bijvoorbeeld). */ #include <iostream.h> #include <stdlib.h> #define WEIGHT 0 #define THRESHOLD 0 #define LEARNINGRATE 0.05 #define BIAS -1 //bias is een getal dat na de optelling //van het totaal wordt opgeteld bool neuron(float inputOne, float inp ...

Hackers 4 Hackers #0D

eZine's profile picture
Published in 
 · 7 Mar 2024
... en programmeer- structuur heel erg op elkaar. Soms is de shellcode wel aangepast om aan sommige filtermethodes te ontkomen, maar in grote lijnen ontlopen ze elkaar niet veel. Ik geef nu gewoon eerst in stukjes de source, met wat uitleg hier en daar. #include <stdlib.h> #include <stdio.h> Eerst beginnen we met het includen van de headerfile. Deze hoort bij de standaard-library van GCC. stdio is nodig voor de output naar het scherm en dergelijke dingen. #define DEFAULT_BUFFER_SIZE 128 #define ...

Hackers 4 Hackers #0A

eZine's profile picture
Published in 
 · 6 Mar 2024
... gramma zet de functie niet bekend is bij het hoofdprogramma. Immers, de compiler heeft hem nog nooit eerder gezien. -- Een voorbeeld (ik gebruik hier weer de functie die we net gemaakt hebben: optellen). 1: /* Voorbeeld van een functie */ 2: #include <stdio.h> 3: /* Telt 2 getallen bij elkaar op */ 4: int optellen( int a, int b ) 5: { 6: int result; 7: result = a + b; 8: return result; 9: } 10: 11: int main() 12: { 13: int sum; 14: 15: sum = optellen( 5, 12); 16: printf("Als je 5 e ...

Hackers 4 Hackers #8

eZine's profile picture
Published in 
 · 6 Mar 2024
... y z a b c d e f g h i j k l m n o p q r s t u v w y | y z a b c d e f g h i j k l m n o p q r s t u v w x z | z a b c d e f g h i j k l m n o p q r s t u v w x y Wa hier nu volgt is een klein zelfgemaakt C-proggie die deze tabel op't scherm zet. #include <stdio.h> void main() { char c, r; printf(" | a b c d e f g h i j k l m n o p q r s t u v w x y z\n"); printf("--+----------------------------------------------------\n"); for (r=0; r<26; r++) { printf("%c |", 97+r); for (c=97; c<123; c+ ...

Hackers 4 Hackers #6

eZine's profile picture
Published in 
 · 6 Mar 2024
... goed password gevonden is maak de string leeg doe 8 keer voeg een willekeurig teken toe aan de string zolang de string een controle waarde geeft die niet goed is druk de string af op het scherm Het programma om het eerste deel te doen is als volgt : #include <dos.h> #include <math.h> #include <conio.h> #include <stdio.h> #include <stdlib.h> #include <iostream.h> void main() { int teller, waarde; cout << hex; for (teller=0; teller<128; teller++) { outp(0x70, t ...
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