Sign in to follow this  
Followers 0
Profoundd

[Help] Perl Script Problem

14 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites

No it still gives me the same error =[

Share this post


Link to post
Share on other sites

No it still gives me the same error =[

What?! No way! Ok hang on...

Share this post


Link to post
Share on other sites

Hope I can get it to work... And thanks for helping.

Share this post


Link to post
Share on other sites

Hope I can get it to work... And thanks for helping.

Not a problem, I do my best!!! I really hope you get it working so you can get your account back from that guy.

I need to double-check, we're working with Perl, right?

Share this post


Link to post
Share on other sites

Yes that's correct.

Share this post


Link to post
Share on other sites

Since it's an admin of another forum that you're having an issue with, maybe one of the admins on this forum can help you out. What do you think?

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Why not just delete the lot and start afresh?!

William

Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0