Jump to content

[Help] Perl Script Problem


Recommended Posts

I am trying to hack an Admin account on my old forum, someone I know that I've been fighting with hacked my forum account, and I can't get it back. I remembered Perl and I thought I'd fire it back up. (Been a while)

When I open CMD and change the Directory to my Perl\Bin\ it works, no errors. But when I get to the next step where I try to access the Perl Script in my bin folder, I get this error;

Unrecognized chatacter \x93; marked by <-- HERE after ua->agebt<<-- HERE near column 12 at ipb.pl line 3.

Here is part of the script;

Can someone please help me? It's been a while since I used Perl so I might be doing something wrong, but not that I know of. Thanks.

Edited by Jos
removed code
Link to comment
Share on other sites

I am trying to hack an Admin account on my old forum, someone I know that I've been fighting with hacked my forum account, and I can't get it back. I remembered Perl and I thought I'd fire it back up. (Been a while)

When I open CMD and change the Directory to my Perl\Bin\ it works, no errors. But when I get to the next step where I try to access the Perl Script in my bin folder, I get this error;

Here is part of the script;

Can someone please help me? It's been a while since I used Perl so I might be doing something wrong, but not that I know of. Thanks.

I've made the necessary changes that you need, please see below:

use LWP::UserAgent;
$ua = new LWP::UserAgent;
$ua->agent(“Mosiac 1.0? . $ua->agent);
if (!$ARGV[0]) {$ARGV[0] = ”;}
if (!$ARGV[3]) {$ARGV[3] = ”;}
my $path = $ARGV[0] . ‘/index.php?act=Login’;
my $user = $ARGV[1]; # userid to jack
my $iver = $ARGV[2]; # version 1 or 2
my $cpre = $ARGV[3]; # cookie prefix
my $dbug = $ARGV[4]; # debug?
if (!$ARGV[2])
{
print “..By ReMuSoMeGa & Nova. Usage: ipb.pl [url="http://forums.site.org/"]http://forums.site.org[/url] ([url="http://forums.site.org/"]http://forums.site.org/[/url]) [id] [ver 1/2].\n\n”;
exit;
}

Please give it a try and let me know if you have any problems.

Edited by MrMitchell
Link to comment
Share on other sites

Now when I try to save the ipb.pl it says,

"This file contains characters in unicode format which will be lost if you save this file as an ANSI encoded text file."

I saved it anyway, clicked and dragged it into my bin folder, and now when I do the step in cmd it says,

Unrecognized character \x93; marked by <-- HERE after ua->agent(<-- HERE near co

lumn 12 at ipb.pl line 3.

Link to comment
Share on other sites

Now when I try to save the ipb.pl it says,

"This file contains characters in unicode format which will be lost if you save this file as an ANSI encoded text file."

I saved it anyway, clicked and dragged it into my bin folder, and now when I do the step in cmd it says,

Unrecognized character \x93; marked by <-- HERE after ua->agent(<-- HERE near co

lumn 12 at ipb.pl line 3.

I was sure that would work, sorry. Try this instead:

use LWP::UserAgent;
$ua = new LWP::UserAgent;
$ua->agent(“Mosiac 1.0? . $ua->agent);
if (!$ARGV[0]) {$ARGV[0] = ";}
if (!$ARGV[3]) {$ARGV[3] = ";}
my $path = $ARGV[O] . ‘/index.php?act=Login&MODE=loginer’;
my $user = $ARGV[1]; # userid to jack
my $iver = $ARGV[2]; # version 1 or 2
my $cpre = $ARGV[3]; # cookie prefix
my $dbug = $ARGV[4]; # debug?
if (!$ARGV[2])
{
print “..By ReMuSoMeGa & Nova. Usage: ipb.pl [url="http://forums.site.org/"]http://forums.site.org[/url] ([url="http://forums.site.org/"]http://forums.site.org/[/url]) [id] [ver 1/2].\n\n”;
exit;
}
Edited by MrMitchell
Link to comment
Share on other sites

I don't get what you're saying o.o I used to own the forum, but this dude I know got mad at me because I banned him and he hacked my password and changed it along with all the other users. I'm trying to get it back by using the Perl Script to get the hash code of it and then use Cane and Abel to decrypt it.

Link to comment
Share on other sites

Because I don't have the admin account anymore.

Also yes, I tried contacting the forum host, but they haven't replied and it's been weeks, I've tried sending the password to my e-mail, but he changed the E-Mail.

Edited by Profoundd
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...