|
| ..Scaperl.. | |
| | Pengirim | Message |
---|
Feedhell NuuBiiTooL
Jumlah posting : 1 Points : 3 Reputation : 0 Join date : 18.08.11
| Subyek: ..Scaperl.. Thu Aug 18, 2011 6:16 pm | |
| Hello all, I am having some problems coding using Scaperl to get the last usernames and passwords associated to a particular ftp server, now, i want to connect using the username and password of the last user of the ftp.. i decided to try a small code, but i need a hand if am wrong, Please Correct and send in the correct code. =========================================== PHP Code: #!/usr/local/bin/perl #Stealthuploader.pl use Net::FTP; use Scaperl::Sniff; use warnings; use strict; my $username = last_login_ftpuser; my $password = last_login_ftppassword; print "Please Enter Target Host:"; chomp($host =<STDIN>) #get last username and password of ftp Server. $sniff = new->Scaperl::Sniff($username,$password); #Now Upon sniffing,it should connect using the username and password , and connect to the ftp server $connect = Net::FTP->new($host,user=>"$username",password=>"$password",PeerAddr=>"$host" PeerPort =>"21") or die "Error connecting to $host: $!"; print " Connection Successful, with user $username and password $password ============================================== | |
| | | nesta VIP Member
Jumlah posting : 810 Points : 896 Reputation : 42 Join date : 04.08.11 Age : 37 Lokasi : depan komputer
| Subyek: Re: ..Scaperl.. Thu Aug 18, 2011 6:20 pm | |
| cara mengeksekusinya gimna bro? apakah ntar ada perintah disitu? | |
| | | CyberWild Moderator
Jumlah posting : 1665 Points : 2310 Reputation : 104 Join date : 11.06.11 Age : 43 Lokasi : internet cloud
| Subyek: Re: ..Scaperl.. Thu Aug 18, 2011 6:51 pm | |
| - Feedhell wrote:
- Hello all,
I am having some problems coding using Scaperl to get the last usernames and passwords associated to a particular ftp server, now, i want to connect using the username and password of the last user of the ftp.. i decided to try a small code, but i need a hand if am wrong, Please Correct and send in the correct code.
=========================================== PHP Code:
#!/usr/local/bin/perl
#Stealthuploader.pl
use Net::FTP; use Scaperl::Sniff;
use warnings; use strict;
my $username = last_login_ftpuser; my $password = last_login_ftppassword;
print "Please Enter Target Host:"; chomp($host =<STDIN>)
#get last username and password of ftp Server.
$sniff = new->Scaperl::Sniff($username,$password);
#Now Upon sniffing,it should connect using the username and password , and connect to the ftp server
$connect = Net::FTP->new($host,user=>"$username",password=>"$password",PeerAddr=>"$host" PeerPort =>"21") or die "Error connecting to $host: $!"; print " Connection Successful, with user $username and password $password
============================================== org luar negeri kyk nya ini bro ____________________________________________________________________ | |
| | | Sponsored content
| Subyek: Re: ..Scaperl.. | |
| |
| | | | ..Scaperl.. | |
|
| Permissions in this forum: | Anda tidak dapat menjawab topik
| |
| |
| Latest topics | » Baktrack TutorialSun Jul 28, 2019 2:26 am by kenta » aplikasi gambas pada linuxTue Apr 30, 2019 10:28 am by kenta » beli linux ubuntu terbaru di surabayaSun Mar 31, 2019 10:08 am by kenta » desain robotFri Jan 19, 2018 1:25 pm by kenta » membuat robot tidak susahFri Jan 19, 2018 1:15 pm by kenta » Salam.. Salam.. Salam..Thu Nov 30, 2017 7:42 am by BumiayuKita» teknologi penyaring udara dan airWed Oct 04, 2017 8:41 am by kenta » [CloudMILD] VPS SSD IIX 2X RAM + Xtra SSD SpaceMon Jul 24, 2017 10:46 am by BumiayuKita» cara menutup akses dari situs negatifTue Apr 04, 2017 1:04 pm by kenta » Aplikasi Google TalkMon Mar 20, 2017 3:00 am by BumiayuKita» Driver buat Webcam PC ?? merknya M-Tech,, Fri Jan 30, 2015 8:51 pm by aelgrim » Portal Blog,,,,,Sun Dec 14, 2014 12:38 am by robofics» Appteknodroid - Seputar Dunia AndroidMon Nov 10, 2014 11:32 pm by Pr0phecy » Software animasi yang agan2 pakeTue Sep 30, 2014 1:11 pm by X_campus » INDO BILLING 6.70 + KEYSun Sep 21, 2014 2:17 pm by abdul halim |
Statistics | Total 12294 user terdaftar User terdaftar terakhir adalah Adlygans
Total 31710 kiriman artikel dari user in 5734 subjects
|
Banner Forum | Dukung forum Blackc0de dengan memasang bannernya.
|
Social Networking |
|
|