|
|
|
Brainfuck Pseudo Compiler |
Si vous voulez bloquer ce service sur vos fils RSS
Si vous voulez nous contacter ou nous proposer un fil RSS
Menu > Articles de la revue de presse : - l'ensemble [ tous | francophone] - par mots clé [ tous] - par site [ tous] - le tagwall [ voir] - Top bi-hebdo de la revue de presse [ Voir]
Brainfuck Pseudo Compiler Par Aodrulez Le [2011-08-28] à 22:56:03
Présentation : Hola Being down with fever has its own fun. Was bored wid my mundane stuff there was no way i could go out.Thats when i heard about 'Brainfuck'.Found it interesting hence ended up writing a Pseudo compiler for it.Am calling it a pseudo compiler because this will only parse pureBrainfuck code to equivalent fully working 'c' code then it uses gcc tocompile it into an executable.It does no syntax checking as of now expects the Brainfuck code to be perfect. Tried tested..the code is fully functional.It might be vulnerable to buffer overflow attacks here n there..but rightnow am too lazy to fix it. Brainfuck Pseudo Compiler v1.0 ------------------------------ Author Aodrulez. Blog http aodrulez.blogspot.com Compilation gcc bfc.c -o bfc Usage . bfc source target Example. . bfc game.bf game Note 'source' file should contain valid Brainfuck code. Extensions of the files dont matter.If no 'target' name is specified, the output will be 'a.out' include include include void parse char ifname , char ofname char ch char make 1024 strcpy make , gcc tmp a0d.c -o . FILE source , target source fopen ifname , r if source NULL printf Cannot open source file n exit 0 target fopen tmp a0d.c , w if target NULL puts Cannot create target file n fclose source exit 0 fprintf target , include n fprintf target , int main void n fprintf target , int x 0 n fprintf target , char ram 65535 n fprintf target , while x' fprintf target , x n break case '' fprintf target , --x n break case ' ' fprintf target , ram x n break case '-' fprintf target , --ram x n break case '.' fprintf target , putchar ram x n break case ',' fprintf target , ram x getchar n break case ' ' fprintf target , while ram x n break case ' ' fprintf target , n break default break fprintf target , n fclose source fclose target if ofname NULL system gcc tmp a0d.c else strcat make , ofname system make int main int argc , char argv if argc 2 printf n Brainfuck Pseudo Compiler n ------------------------- n printf Author Aodrulez n Blog http aodrulez.blogspot.com n printf n Usage pourcentss source target n Ex. pourcentss test.bf test.out n n , argv 0 , argv 0 else parse argv 1 , argv 2 return 0
Les derniers articles du site " Aodrulez " :
- The Pied Piper - MalCon_2012 - My solution to malware.lu's HackGyver challenges. - The Making of MalCon CTM-2011 Challenge. - She Ain't Gonna Last... Nope! - Aodrulez: I've Arrived! - My Rules! - I ...is it just an Alphabet? - V For Vendetta! - A Nice Protection Scheme. - Anti-Software_Cracking Techniques.
Menu > Articles de la revue de presse : - l'ensemble [ tous | francophone] - par mots clé [ tous] - par site [ tous] - le tagwall [ voir] - Top bi-hebdo de la revue de presse [ Voir]
Si vous voulez bloquer ce service sur vos fils RSS :
- avec iptables "iptables -A INPUT -s 88.190.17.190 --dport 80 -j DROP"
- avec ipfw et wipfw "ipfw add deny from 88.190.17.190 to any 80"
- Nous contacter par mail
| Mini-Tagwall des articles publiés sur SecuObs : | | | | sécurité, exploit, windows, attaque, outil, microsoft, réseau, audit, metasploit, vulnérabilité, système, virus, internet, usbsploit, données, source, linux, protocol, présentation, scanne, réseaux, scanner, bluetooth, conférence, reverse, shell, meterpreter, vista, rootkit, détection, mobile, security, malicieux, engineering, téléphone, paquet, trames, https, noyau, utilisant, intel, wishmaster, google, sysun, libre |
| Mini-Tagwall de l'annuaire video : | | | | curit, security, biomet, metasploit, biometric, cking, password, windows, botnet, defcon, tutorial, crypt, xploit, exploit, lockpicking, linux, attack, wireshark, vmware, rootkit, conference, network, shmoocon, backtrack, virus, conficker, elcom, etter, elcomsoft, server, meterpreter, openvpn, ettercap, openbs, iphone, shell, openbsd, iptables, securitytube, deepsec, source, office, systm, openssh, radio |
| Mini-Tagwall des articles de la revue de presse : | | | | security, microsoft, windows, hacker, attack, network, vulnerability, google, exploit, malware, internet, remote, iphone, server, inject, patch, apple, twitter, mobile, virus, ebook, facebook, vulnérabilité, crypt, source, linux, password, intel, research, virtual, phish, access, tutorial, trojan, social, privacy, firefox, adobe, overflow, office, cisco, conficker, botnet, pirate, sécurité |
| Mini-Tagwall des Tweets de la revue Twitter : | | | | security, linux, botnet, attack, metasploit, cisco, defcon, phish, exploit, google, inject, server, firewall, network, twitter, vmware, windows, microsoft, compliance, vulnerability, python, engineering, source, kernel, crypt, social, overflow, nessus, crack, hacker, virus, iphone, patch, virtual, javascript, malware, conficker, pentest, research, email, password, adobe, apache, proxy, backtrack |
|
|
|
|
|