I would like to be able to use the command line using an interface that doesn't scare people in public. So I was thinking of creating an http server that allows access to the command line through web pages that look like facebook and twitter. Source code would be reformated into walls. Twitter would work well for log files. Any ideas or links to existing work are welcome.
>>5 It gets better. I can traverse the entire filesystem and execute the ``system'' call and THE EXECUTED PROGRAMS RUN AS APACHE I CAN FOPEN AND READ ALL THE SERVER SIDE FILES.
>>4 I don't to be accused of "hacking". I've heard stories of people being asked to leave coffee shops. And what if an illiterate with authority decides to investigate? I just want the ability to do what I do while blending in just in case.
main.c:1:10: error: #include expects "FILENAME" or <FILENAME> #include >stdio.h> ^ main.c: In function ‘main’: main.c:6:5: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default] printf("Hello, Nigger! \n"); ^
Name:
Anonymous2014-04-27 22:31
Most stuff is owned by root, unfortunately. Time to warm up the find-fu.
Name:
>>22014-04-27 22:34
>>12 Still, because the run programs run as apache and you can get them to do whatever you want, you can daemon them and they'll run in the background with apache's access.
If you cared enough, you could write a program that detached from php's execution with daemon(3), connected to some IRC for commands, and used IPC to fuck with apache and get it to write files / escalate privileges.
The entire FS is exposed so there's plenty you can do, also all networking functions work and there's no chroot.
Name:
Anonymous2014-04-27 22:48
>>13 So we can run a web server on it. And store the DB in ram
Name:
Anonymous2014-04-27 23:06
i guess it would be more useful for sending spam or joining a botnet. I'll never know the joys of such things.
Name:
Anonymous2014-04-27 23:12
Use the black on white theme of your terminal emulator and use proportional fonts. Problem solved.
Name:
>>22014-04-27 23:26
Here's a gzip'd b64 of all the php files in that guy's /var/www/html folder:
apache can write to /web/com. Certain binaries like cat and curl are blocked, but you can emulate them with the unblocked grep '.*' and netcat. Incredible how half-assed the security on that thing is, makes me not want to ever host a server.
/prog/ botnet member count: 1
Name:
Anonymous2014-04-28 0:18
Prog challenge #1998
- Round up all online compiler sites that let you compile C and use networking. - Figure out the shortest max runtime for all the sites. - Write a program that can post a program to any of the compiler sites, have it execute and take the response. - Hardcode the list of the compiler sites in the program, and have it post this program randomly to any one of the compiler sites. - Make it so that when it gets a response, it takes the response's body, and the program's own source, and combines them (as in, sets the response as an argument in the program's automatically rewritten source) - Make sure one round trip can be executed within the shortest runtime in any of these sites. - Watch as the sites DoS themselves and get around their own maximum execution time by just passing the program's execution context to each other endlessly and spawning more and more instances of the program over the network.