Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    Status
    Offline
    iamspa's Avatar
    Member Super Senior
    Join Date
    Jan 2010
    Location
    MEDAN DONK AH....
    Posts
    685
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    [ask] cache https menggunakan script agan ucok

    alo agan agan sekalian
    ane mau tanya neh....
    ane ada baca di facebook nya mengunakan script di bawah ini untuk caching HTTPS
    script ini bisa di gabungkan ama storeurl

    apakah ada yang tau cara menggunakan nya?

    mohon bantuan nya
    Code:
    Get HTTP status codes
    
    install packet needed
    	
    apt-get install build-essential libssl-dev
    perl -MCPAN -e 'LWP::UserAgent'
    perl -MCPAN -e 'LWP::Protocol::https'
    
    #####script only for http#####
    #!/usr/local/bin/perl -w
    require LWP::UserAgent;
    $|=1;
    while(<>) {
    @X = split;
    my $ua = LWP::UserAgent->new;
    my $response = $ua->get($X[0]);
    my $x = $response->status_line;
    $x =~ s/([0-9]*)\s.*/$1/gx;
    print $x . "\n";
    }
    
    #####script for http/https#####
    #!/usr/bin/perl 
    use LWP::UserAgent; 
    use HTTP::Request; 
    $|=1;
    while(<>) {
    @X = split;
    my $ua = "";
    if ( $X[0] =~ m/^https.*/) {
    $ua = LWP::UserAgent->new(ssl_opts => { verify_hostname => 1 });
    } else {
    $ua = LWP::UserAgent->new;
    }
    my $response = $ua->get($X[0]);
    my $x = $response->status_line;
    $x =~ s/([0-9]*)\s.*/$1/gx;
    print $x . "\n";
    }

  2. The Following 2 Users Say Thank You to iamspa For This Useful Post:


  3. #2
    Status
    Offline
    dhopack's Avatar
    Forum Guru
    Join Date
    Dec 2010
    Posts
    1,919
    Reviews
    Read 0 Reviews
    Downloads
    2
    Uploads
    0
    Feedback Score
    0
    weh kereen...

  4. #3
    Status
    Offline
    m4l41k4t_p3n454r4n's Avatar
    Member
    Join Date
    Jun 2009
    Posts
    213
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Bantu upkan yach gan, pengen coba tp blm bs.

  5. #4
    Status
    Offline
    chabyiolue's Avatar
    Member
    Join Date
    Feb 2010
    Posts
    228
    Reviews
    Read 0 Reviews
    Downloads
    9
    Uploads
    0
    Feedback Score
    0
    bantu UP juga lah sambil nunggu yg dibawah

  6. #5
    Status
    Offline
    joko_kuno's Avatar
    Member Super Senior
    Join Date
    Apr 2010
    Posts
    601
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    wah ilmu baru nich, wajib nongkrong dulu nich,,,,,,,Click here to enlarge

  7. #6
    Status
    Offline
    Adhiefree's Avatar
    Member
    Join Date
    Nov 2010
    Posts
    183
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    belum pernah cobah tuch ...Click here to enlarge

  8. #7
    Status
    Offline
    joko_kuno's Avatar
    Member Super Senior
    Join Date
    Apr 2010
    Posts
    601
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    sundul dulu.......Click here to enlarge

  9. #8
    Status
    Offline
    iamspa's Avatar
    Member Super Senior
    Join Date
    Jan 2010
    Location
    MEDAN DONK AH....
    Posts
    685
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    wew...
    pada kena sundul....
    mending kita colek yang punya script yaitu agan ucok karnadi...

  10. #9
    Status
    Offline
    chabyiolue's Avatar
    Member
    Join Date
    Feb 2010
    Posts
    228
    Reviews
    Read 0 Reviews
    Downloads
    9
    Uploads
    0
    Feedback Score
    0
    Siiip bener banget dri pada salah jalan ....

    Sent from my MF353ZP/A using Tapatalk

  11. #10
    Status
    Offline
    joko_kuno's Avatar
    Member Super Senior
    Join Date
    Apr 2010
    Posts
    601
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Click here to enlarge Originally Posted by iamspa Click here to enlarge
    alo agan agan sekalian
    ane mau tanya neh....
    ane ada baca di facebook nya mengunakan script di bawah ini untuk caching HTTPS
    script ini bisa di gabungkan ama storeurl

    apakah ada yang tau cara menggunakan nya?

    mohon bantuan nya
    Code:
    Get HTTP status codes
    
    install packet needed
    	
    apt-get install build-essential libssl-dev
    perl -MCPAN -e 'LWP::UserAgent'
    perl -MCPAN -e 'LWP::Protocol::https'
    
    #####script only for http#####
    #!/usr/local/bin/perl -w
    require LWP::UserAgent;
    $|=1;
    while(<>) {
    @X = split;
    my $ua = LWP::UserAgent->new;
    my $response = $ua->get($X[0]);
    my $x = $response->status_line;
    $x =~ s/([0-9]*)\s.*/$1/gx;
    print $x . "\n";
    }
    
    #####script for http/https#####
    #!/usr/bin/perl 
    use LWP::UserAgent; 
    use HTTP::Request; 
    $|=1;
    while(<>) {
    @X = split;
    my $ua = "";
    if ( $X[0] =~ m/^https.*/) {
    $ua = LWP::UserAgent->new(ssl_opts => { verify_hostname => 1 });
    } else {
    $ua = LWP::UserAgent->new;
    }
    my $response = $ua->get($X[0]);
    my $x = $response->status_line;
    $x =~ s/([0-9]*)\s.*/$1/gx;
    print $x . "\n";
    }
    bakar menyan dulu ach......:sos:

  12. #11
    Status
    Offline
    arif_portnoy's Avatar
    Calon Member
    Join Date
    Dec 2011
    Posts
    88
    Reviews
    Read 0 Reviews
    Downloads
    2
    Uploads
    0
    Feedback Score
    0
    Apa mungkin script punya kang ucok itu dimasukkan ke storeurl. Atawa berjalan terpisah dengan storeurl? Click here to enlarge

  13. #12
    Status
    Offline
    mangkat's Avatar
    Baru Gabung
    Join Date
    Oct 2008
    Posts
    12
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    ijin nongkrongin Click here to enlarge

  14. #13
    Status
    Offline
    isud69's Avatar
    Baru Gabung
    Join Date
    Jul 2013
    Posts
    3
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    pasang tenda dolo nunggu sampai mbah nya turun gunung Click here to enlarge

  15. #14
    Status
    Offline
    Anam's Avatar
    Newbie
    Join Date
    Apr 2014
    Location
    City of Heroes
    Posts
    35
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Ikutan gabung ah Click here to enlarge

  16. #15
    Status
    Offline
    ucok_karnadi's Avatar
    ..:: Masih Bodoh ::..
    Join Date
    Jan 2009
    Location
    PATI - JAWA TENGAH
    Posts
    1,178
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    Numpang nyengir dulu ach... Click here to enlarge
    ___________________________________________


 

 
Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. agan agan yang terhormat, newbie voleh minta tolong..?
    By dimas dicinie in forum Beginner Basics
    Replies: 1
    Last Post: 30-06-2015, 22:12
  2. [Curhat] Oh https https... andai kau bisa di cache :(
    By Mikrolet in forum Linux Support
    Replies: 33
    Last Post: 06-11-2013, 22:14
  3. ada yang tau/pernah nge-CACHE website HTTPS ga?
    By uve in forum Review & TEST [Others]
    Replies: 13
    Last Post: 27-06-2012, 00:05
  4. Settingan bandwith management buat hotspot agan-agan..
    By mokalin in forum Wireless Networking
    Replies: 4
    Last Post: 02-10-2011, 08:18
  5. Agan-agan Mau tanya dong sekitar radio Engenius & Bulet.
    By ed13 in forum Wireless Networking
    Replies: 7
    Last Post: 09-06-2010, 09:55

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •