#! /usr/bin/perl #FTP to2600@darkphiber.ca for seCr33n CaPtu7e fetch # #Authored:/home/japh #% whoami #dReKurCe # #Tue May 31 19:17:51 EDT 2005 # # # use Net::FTP; $hostname='darkphiber.ca'; $username='to2600@darkphiber.ca'; $hack_the_planet='h4x0r5'; #update by OM Tue May 31 17:15:45 EDT 2005 $home='/home/neutrin0/2600'; $filename="neutrin0.to2600.3105a.jpg"; # open conection to ftp.darkphiber.ca $ftp=Net::FTP->new($hostname); $ftp->login($username,$hack_the_planet); print "Current Listing of $username"; @dirlisting=$ftp->ls(),"\n"; atomize(@dirlisting); #retrieve $filename and exit #not sure how the output of atomize should be utilized here $ftp->get($filename); $ftp->quit; sub atomize{ for $screencapture(@philes){print "output of ftp listing->$screencapture\n"} }