PDA

View Full Version : SSH/Telnet hack (really hard IMO) -> Avatars


flup
05-02-2003, 07:00 PM
I want a hack wich is able to login to SSH or Telnet and gzip a selected package to a selected directory.

The idea for the hack ::

Making a page with a dropdown menu wich shows all .tar.gz files in a directory (with avatars) and a textfield where you have to select a directory.

After that the script has to gzip the file and put al images in the selected directory AND add them to to database with the tag of:
:smileyname.jpg: or something.

Im very very unsure if this is able, but if it's able im sure it is hard :)

Good Luck Die Hard's rofl :)

filburt1
05-02-2003, 07:10 PM
I don't believe PHP has gzip (i.e., file) compression built in without an extension so forget that.

flup
05-02-2003, 09:54 PM
:(

rake
05-02-2003, 10:14 PM
You can't really SSH or Telnet through PHP either. But, with right permissions, php can execute shell queries. that means it can access gzip functions and can do what flup requested.

flup
05-03-2003, 07:45 AM
But who is abel to do something like this :|

RDX1
05-03-2003, 08:02 AM
Better question, why?

flup
05-03-2003, 12:02 PM
Because i hava to add sometimes up to 400 smileys per time :|
You don't wanna know how long it takes to do that