HSC
Network Security Consulting Agency Since 1989 - Specialized in Unix, Windows, TCP/IP and Internet
Text mode: access to the page content
Hervé Schauer Consultants
You are here: Home > Resources > Tips > Petit poisson d'Avril
Go to: HSC Trainings
Télécharger le catalogue des formations
Search:  
Version française
   Services   
o Skills & Expertise
o Consulting
o ISO 27001 services
o Audit & Assessment
o Penetration tests
o Vunerability assessment (TSAR)
o Forensics
o ARJEL
o Training courses
o E-learning
   Conferences   
o Agenda
o Past events
o Tutorials
   Resources   
o Thematic index
o Tips
o Lectures
o Courses
o Articles
o Tools (download)
o Vulnerability watch
   Company   
o Hervé Schauer
o Team
o Job opportunities
o Credentials
o History
o Partnerships
o Associations
   Press and
 communication
 
 
o HSC Newsletter
o Bulletin juridique HSC
o Press review
o Press releases
o Publications
   Contacts   
o How to reach us
o Specific inquiries
o Directions to our office
o Hotels near our office
|>|Petit poisson d'Avril  

by Stéphane Aubert (01/04/2001)




Oh ! nous sommes le 1er Avril ...

Voici donc une petit poisson d'Avril électronique ;-))

---[ pa.c ]-----------------------------------------------
/* Poisson d'Avril - Stephane Aubert - HSC */
#if defined(__FreeBSD__) || defined(__OpenBSD__)
#define _ 37
#else 
#define _ 17
#endif
char crc[]="%2BMXH%wzqj\177B2%";
char *f() { char p,*s=&p+_,*c=crc;for(;*c;(*s++)=*c++-5);}
void main() {
  char fun[]="Poisson d'Avril\n";
  printf(fun,f());
}
---[ EOF ]------------------------------------------------

PS : gcc -o pa pa.c ; ./pa




Last modified on 12 November 2003 at 13:55:00 CET - webmaster@hsc.fr
Mentions légales - Information on this server - © 1989-2013 Hervé Schauer Consultants