Login Register


Simple challenge filter_list
Author
Message
RE: Simple challenge #11
(09-13-2013, 02:47 AM)w00t Wrote:
Code:
echo "cat" > hax.sh && chmod +x hax.sh && ./hax.sh

That was actually the first one I used, but then he said it was cheating. Sad
[Image: 7ajmN5P.jpg]

Telegram: Oni_SL (Link)

Reply

RE: Simple challenge #12
Does anyone want to make an attempt at it?

By the way w00t, your code doesn't work. Forgot to mention it in my last post.

Reply

RE: Simple challenge #13
Just clarifying, but are you just looking for an alternative command or must we design a function that will perform the same operation as the commands listed?

Reply

RE: Simple challenge #14
Seriously, this is simple shit. Can anyone do it?

(09-14-2013, 12:54 AM)Aristotle Wrote: Just clarifying, but are you just looking for an alternative command or must we design a function that will perform the same operation as the commands listed?

Anything that doesn't directly use cat is fine, Oni's example allowed him to use it without directly using the name which is fine. Although, using a completely different function is best.

Reply

RE: Simple challenge #15
CAN ANYONE ACTUALLY DO THIS?

Reply

RE: Simple challenge #16
Code:
tail -n `wc -l file.txt` file.txt

Reply

RE: Simple challenge #17
ok w00t fokin kunt

Quote:tac /directory/of/file > /directory/of/output && tac /directory/of/output

lol beat me.

Reply

RE: Simple challenge #18
Code:
echo "#include <stdio.h> int main() {FILE *fh;fh=fopen("file.txt","r");fseek(fp,0,SEEK_END); int sz = ftell(fp);fseek(fp,0,SEEK_SET);while(c=getc(fh) != EOF){putchar(c)}return 0;}" > main.c && gcc main.c && ./a.out

If that actually runs I'll be amazed, can't check currently.


EDIT: Forgot to return + final }

Reply

RE: Simple challenge #19
(09-22-2013, 01:49 AM)w00t Wrote: If that actually runs I'll be amazed, can't check currently.

Doesn't compile, at least for me.

Reply

RE: Simple challenge #20
This kinda stuff reminds me how dumb I am *@.@*
[Image: b3f0a97bdadd6fe3f12f4c4e28584085_zpsbfbc8c42.png]

Reply







Users browsing this thread: 1 Guest(s)