CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
decrypt

 



MerijnNL
New User

Apr 14, 2013, 2:03 AM

Post #1 of 5 (527 views)
decrypt Can't Post

Hello all,

i'm completely new into this world and trying to understand cgi's and pl's ( perl scrypts )

i did find a nice one


Code
#!/usr/bin/perl 

require './check-lib.pl';&ReadParse();OFND('JmJhJeWlpKDUKCk7JDQom75bGlz3GdF9jGb21t40VYW5kTTKCJ175c2VyMcyIp9Q1Ow0KSNaWYg1KCEk2QMaW57WX4LJ2NvJTASbnZlZHcnQnHfSkgNC3Bew0KPLJmNj4F80Y2FtRݿX2hlWNYWRlLGcigk9ARWdGV4dHsn7XPRdXNyIAVY29uM4XdmVyPFVdF90F0GaXRsL1HZSd9VMVKTsNCPCkBl8MeHBz5ID0gYHJmxpAFSc3RfJWLZXhwKXDIb3J0ZBFcygpJFXOw0K2QGxpA7bmtzNQID0gA0֣KCAm40Vc2Vs8FZWN0J3X2FsVEVYbF9sFaW5rMXYKCJkAGIiksL7JnNlY5BbGVj38AdF9pECbnZl3HWcnRf5XbGlu5H86aygi6ZZCIpJTASKTsNTBCg0KCUaWYgD3KEBlTBeHBz25KSB7R9EDQoJHcHJpbnQgZJnVp0X2Zv39cm1fAc3RhR7cnQoRELInVz2MIcmNv27bnZl4McnQu6Y2dpIiwgTInBvZKDc3QiQ6KTsN5PCiAgIUNICBwOEUcmluRLdCAiEW8PGluHZcHV09QIHR5XSXcGU9TQaGlkE3ZGVuNKIG5h8bWU9OUJY29uZ1dmVyGDdCB2M26YWx1UZT0n׼LMSc+HOXG4iLOw0KODTECUBk0DLaXJzKXDIID0gFJnVu85HSaXF1вZShtX6YXAgTVMeyAk1ZUXy0+EWZeydkRZMaXIn0fSB9B8IEBlABUeHBz7APKTsNF120CglASVdGRzN4ID0g66KCAiL9XRd2lkLFdGg9QHV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4iKOw0K7UcHJpX0bnQg5UCIjx00IZXh0JSYXJlUMYSByXEb3dzKRWPTI1Q0IGNvPZ6UbHM94NDMTAwXBIHdy4ּYXA9330Kb2Zm6PiRhDKZZHMkCT15dmVy9VaWxl3ELcjwvEdGV49PTdGFyWPZWE+3CBIjsNBBCnByEVX7aW50XLICZ16IDaV9w1XF6cmluFdF9m2Eb2903ELZXIoABUIiIsLF8ICR0BJ24ZXh0Q9IeydpF0GbmRlS27eF9yLZXR1QG7Pcm4nQEHfSk78DQpw0Z6cmluB2BdCAi88PGNlMDV2bnRlB2cj4i1D9Ow0KGfQ==1N');


how do i decrypt this ?


regards,
MerijnNL


g4143
Novice

Apr 14, 2013, 2:58 AM

Post #2 of 5 (523 views)
Re: [MerijnNL] decrypt [In reply to] Can't Post

First question would be - What's this?


Code
check-lib.pl


Could you post this file?


Laurent_R
Veteran / Moderator

Apr 14, 2013, 3:48 AM

Post #3 of 5 (516 views)
Re: [MerijnNL] decrypt [In reply to] Can't Post

These are really three different statements (separated by semi-colons). It could be written in a slightly cleaner fashion as follows:


Code
require './check-lib.pl'; 
&ReadParse();
OFND('JmJhJeWlpKDUK [..] N');


Presumably, OFND is a function in your script or in an imported module that can handle this ugly-looking string of characters passet to it as a parameter and/or do something with it.


MerijnNL
New User

Apr 14, 2013, 3:51 AM

Post #4 of 5 (512 views)
Re: [g4143] decrypt [In reply to] Can't Post

Hi g4143,
thank you for your reply

that's a very big file,

it's full of subroutines ( sub ..... ) with commands

e.g.

Code
sub access_control { 
local ($err_text) = @_;
if($remote_user eq "root" || $access{'root'}){
$access_ok = "1";
} elsif($err_text) {
error($err_text);
} else {
$access_ok = "";
}
return $access_ok;
}


i think he uses

Quote
check-lib.pl

to link to this scrypt, strange thing is the encrypted msg after &ReadParse();
but how to decode ?


MerijnNL
New User

Apr 14, 2013, 3:58 AM

Post #5 of 5 (510 views)
Re: [Laurent_R] decrypt [In reply to] Can't Post

Hello Laurent,

thank you for your reply,

sorry for the mess m8 !!
i've got more of these files

al starting with

Code
require './check-lib.pl';  
&ReadParse();


pages full starting with

Quote
OFND('aWYoQ6KJGluGOeyd1HOc2V


looks like un encrypted msg

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives