em Posted January 24, 2014 Report Share Posted January 24, 2014 Afisati numarul 196 in consola fara a folosi cifre in comanda.$ echo [b]magicstring[/b]196Nu fiti gay. Nu chemati alte scripturi. Cea mai scurta comanda sa castige Quote Link to comment Share on other sites More sharing options...
Gio33 Posted January 24, 2014 Report Share Posted January 24, 2014 echo random ? la un moment dat o sa afiseze si 196 Quote Link to comment Share on other sites More sharing options...
em Posted January 24, 2014 Author Report Share Posted January 24, 2014 Pai, fa asa. Pune un intreg while intr-o subcomanda in acel echo. Dar cum compari cu 196 daca nu ai voie sa il scrii? Si nici nu va fi prea scurta. Quote Link to comment Share on other sites More sharing options...
aelius Posted January 24, 2014 Report Share Posted January 24, 2014 (edited) marian@pluto:~$ wtf196)// edit: a, nu ai voie sa-l scrii, hahahaDe ce ? Pentru ca rstmarian@pluto:~$ rst196Cum de afisaza ?marian@pluto:~$ function rst() { echo "`echo MTk2Cg== |base64 --decode`"; }; marian@pluto:~$ rst196erau si alte metode, cred ca mai simple Edited January 24, 2014 by aelius Quote Link to comment Share on other sites More sharing options...
em Posted January 24, 2014 Author Report Share Posted January 24, 2014 marian@pluto:~$ function rst() { echo "`echo MTk2Cg== |base64 --decode`"; }; marian@pluto:~$ rst196Ai un 2 in comanda. + 64 Quote Link to comment Share on other sites More sharing options...
skull Posted January 24, 2014 Report Share Posted January 24, 2014 master> echo $(cat t | wc -l)196 Quote Link to comment Share on other sites More sharing options...
em Posted January 24, 2014 Author Report Share Posted January 24, 2014 Heh. Din pacate eu nu am acel t. Hai sa ne limitam la chestii pe care le gasim pe orice distro de linux. Quote Link to comment Share on other sites More sharing options...
Zatarra Posted January 24, 2014 Report Share Posted January 24, 2014 [root@optimusprime ~]# function rst() { echo "`printf 'b' |od -A n -t d`+`printf 'b' |od -A n -t d`" |bc; };[root@optimusprime ~]# rst196[root@optimusprime ~]#Am sa incerc si mai scurt. Quote Link to comment Share on other sites More sharing options...
1337 Posted January 24, 2014 Report Share Posted January 24, 2014 grep -o "a" <<<"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" | wc -l Quote Link to comment Share on other sites More sharing options...
skull Posted January 24, 2014 Report Share Posted January 24, 2014 printf "%d\n" \'Ä Quote Link to comment Share on other sites More sharing options...
blech Posted January 24, 2014 Report Share Posted January 24, 2014 printf "%d\n" \'Äla mine codul tau da 195[root@shaorma ~]# printf "%d\n" \'Ä195[root@shaorma ~]# Quote Link to comment Share on other sites More sharing options...
Active Members dancezar Posted January 24, 2014 Active Members Report Share Posted January 24, 2014 (edited) bc=$(printf "%d" "'b")echo $((bc+bc))codu ascii lu b inmultit cu 2//cu 2 caractere mai putinb=$(printf "%d" "'b")echo $((b+) Edited January 24, 2014 by danyweb09 Quote Link to comment Share on other sites More sharing options...
Zatarra Posted January 24, 2014 Report Share Posted January 24, 2014 bc=$(printf "%d" "'b")echo $((bc+bc))codu ascii lu b inmultit cu 2//cu 2 caractere mai putinb=$(printf "%d" "'b")echo $((b+)Credits to Zatarra Quote Link to comment Share on other sites More sharing options...
Active Members dancezar Posted January 24, 2014 Active Members Report Share Posted January 24, 2014 Credits to Zatarra scuze Zatarra nu am vazut ca ai postat ,aproape acelasi chestie.//Credis to Zatarra Quote Link to comment Share on other sites More sharing options...
Zatarra Posted January 24, 2014 Report Share Posted January 24, 2014 scuze Zatarra nu am vazut ca ai postat ,aproape acelasi chestie.//Credis to ZatarraO mica adaptare la codul tau echo `printf "%d+%d" \'b \'b` |bc Quote Link to comment Share on other sites More sharing options...
em Posted January 26, 2014 Author Report Share Posted January 26, 2014 Heh. Eu ma gandisem la echo $(date +%y) \* $(date +%y) |bcMacar pana la anu ... Quote Link to comment Share on other sites More sharing options...
Zatarra Posted January 26, 2014 Report Share Posted January 26, 2014 Heh. Eu ma gandisem la echo $(date +%y) \* $(date +%y) |bcMacar pana la anu ... Banuiesc ca idea era sa nu depinda de nimic Quote Link to comment Share on other sites More sharing options...
tromfil Posted January 26, 2014 Report Share Posted January 26, 2014 Winner?echo "E*D+E"|bc Quote Link to comment Share on other sites More sharing options...
em Posted January 26, 2014 Author Report Share Posted January 26, 2014 Winner?Pai E*D+E = E(D+1) = E*Eecho "E*E"|bc Quote Link to comment Share on other sites More sharing options...
tromfil Posted January 26, 2014 Report Share Posted January 26, 2014 Ah, f?cusem pentru 197 ?i v?zusem c? e prim. Pwned. De?i...echo E*E|bc6 chars. Amin! Quote Link to comment Share on other sites More sharing options...
B7ackAnge7z Posted January 30, 2014 Report Share Posted January 30, 2014 <offtopic/>Dac? postai concursul pe 15 iulie, probabil câ?tigam eu date +%j Quote Link to comment Share on other sites More sharing options...