View Full Version : CGI help !!!!!!!!!
Morteza
December 7th, 2001, 22:36
hello,
1. Lets say there is a txt file in a remote server. and CHMOD 777
i want to write something into it from another server. is it possible?
2. is there a way to delete or add a file to a remote server?
thank you.
Cyber
December 7th, 2001, 22:37
not that i know of, im not sure its possible
Morteza
December 7th, 2001, 22:41
This is a encrypted word. (unix based)
aif9gFItlBSd2
is there any way to decrypt it?
Cyber
December 7th, 2001, 22:43
not unless you know the encryption code
Morteza
December 7th, 2001, 22:46
what is encryption code?
Cyber
December 7th, 2001, 22:46
the code they used to encrypt it
Morteza
December 7th, 2001, 22:50
is there any way to find this out?
Cyber
December 7th, 2001, 22:50
ask them? :biggrin2:
nope.
Morteza
December 7th, 2001, 22:54
the server encrypts the file or the script?
I mean this txt file encrypted by CGI file the result was
aif9gFItlBSd2
im getting the same thing in other servers.
the cgi must be encrypting it right?
Cyber
December 7th, 2001, 22:55
yups
Morteza
December 7th, 2001, 23:00
Ok if i give you the script can you find the encrypted word?
or just tell me how can i do it.
here is few line of the script :
if ($admin_password) {
$password = $INPUT{'password'};
&checkpassword;
}
else {
$newpassword = crypt($INPUT{'password'}, ai);
$password = $INPUT{'password'};
Cyber
December 7th, 2001, 23:02
try replacing "crypt" with "decrypt"
Morteza
December 7th, 2001, 23:04
DAMN YOU SMART !
im gona try this :)
thx
Dusty
December 7th, 2001, 23:05
If there was a simple way to decrypt that would make encrypting pretty useless, wouldn't you think? Short answer, there is no "decrypt", only crypt.
A script can manipulate files on another server. You can either set it up so that it FTPs to the remote server and changes the file that way or you can install a simple relay script on the remote server that the real script works through.
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.