Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.13
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
libnet-twitter-perl /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
oauth_desktop.pl
1.3
KB
-rwxr-xr-x
oauth_webapp.pl.gz
1.49
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : oauth_desktop.pl
#!/usr/bin/perl # # Net::Twitter - OAuth desktop app example # use warnings; use strict; use Net::Twitter; use File::Spec; use Storable; use Data::Dumper; # You can replace the consumer tokens with your own; # these tokens are for the Net::Twitter example app. my %consumer_tokens = ( consumer_key => 'v8t3JILkStylbgnxGLOQ', consumer_secret => '5r31rSMc0NPtBpHcK8MvnCLg2oAyFLx5eGOMkXM', ); # $datafile = oauth_desktop.dat my (undef, undef, $datafile) = File::Spec->splitpath($0); $datafile =~ s/\..*/.dat/; my $nt = Net::Twitter->new(traits => [qw/API::RESTv1_1/], %consumer_tokens); my $access_tokens = eval { retrieve($datafile) } || []; if ( @$access_tokens ) { $nt->access_token($access_tokens->[0]); $nt->access_token_secret($access_tokens->[1]); } else { my $auth_url = $nt->get_authorization_url; print "\n1. Authorize the Twitter App at: $auth_url\n2. Enter the returned PIN to complete the Twitter App authorization process: "; my $pin = <STDIN>; # wait for input chomp $pin; print "\n"; # request_access_token stores the tokens in $nt AND returns them my @access_tokens = $nt->request_access_token(verifier => $pin); # save the access tokens store \@access_tokens, $datafile; } my $status = $nt->user_timeline({ count => 1 }); print Dumper $status; print "\n";
Close