Vhaerun Posted April 30, 2008 Author Report Share Posted April 30, 2008 scrii comanda asta :perl -MCPAN -e "shell"iar apoi scrii :install WWW::Mechanize Quote Link to comment Share on other sites More sharing options...
F1d Posted April 30, 2008 Report Share Posted April 30, 2008 codul asta trebuie pus in CPAN ? INSTALLING AUTOMATICALLY------------------------The easiest way to install is via CPAN or CPANPLUS:CPAN: % perl -MCPAN -e shell [as root] > install WWW::Mechanize::Cached > quitsi unde gasesc CPAN-ul asta ? si mai trebuie sa descarc ceva , sau doar perlul ? :oops: :oops: Quote Link to comment Share on other sites More sharing options...
Vhaerun Posted April 30, 2008 Author Report Share Posted April 30, 2008 instalezi perl si rulezi ce am scris eu mai sus ( de la tastatura ! ) Quote Link to comment Share on other sites More sharing options...
F1d Posted May 2, 2008 Report Share Posted May 2, 2008 am reusit sa instalez Mechaniez cu ajutorul lui Vhaerun am facut o continuare la scriptul lui Vhaerun care trimite un mesaj in alianta ... am incercat sa fac sa activeze potiunile de viata dar n-am reusit deoarece ele au linkul random ( se tot schimba la fiecare refresh ) ... la fel e si la butoanele de la caverna e vreo posibilitate sa reusesc ? Quote Link to comment Share on other sites More sharing options...
Vhaerun Posted May 2, 2008 Author Report Share Posted May 2, 2008 da.mi se pare ca si raid-ul avea link random . posteaza aici bucatele de cod html cu linkul si iti zic ce expresie regulata sa folosesti . Quote Link to comment Share on other sites More sharing options...
F1d Posted May 2, 2008 Report Share Posted May 2, 2008 la caverna (inspect element ) :class = input , type = submit , value = Lung , name = "14c6babae54add16327d9c2023eb9e04"la potiune : a href=?q=66b852602020ea64529e60c23319a8c6&act=2&actkey=2p.s : linkurile se schimba la fiecare refresh Quote Link to comment Share on other sites More sharing options...
Vhaerun Posted May 2, 2008 Author Report Share Posted May 2, 2008 Uite aici :if($string =~ /vindecare medie\s?.*?a href=\"(.*)\"/is) { print "$1\n";}evident , in $string , vei avea content-ul paginii . in $1 vei avea un link relativ . Quote Link to comment Share on other sites More sharing options...