ruby/perl
yunshouhu
爱Java,更爱Android,学VC,搞c/c++的我。专注移动安全,游戏安全,逆向安全!十年戎马成神路,君临天下风雷动! https://github.com/yunshouhu
展开
-
ruby 入门实例
#!/usr/bin/ruby# -*- coding: UTF-8 -*-#coding=utf-8puts "This is main Ruby Program"puts "http://www.runoob.com/ruby/ruby-encoding.html"puts __FILE__puts __LINE__#我是注释END { puts "声明 code 会在程原创 2015-10-20 10:21:09 · 1155 阅读 · 0 评论 -
logstash自定义插件和资料
http://kibana.logstash.es/content/logstash/develop/index.html一个标准的 logstash 输入插件格式如下:require 'logstash/namespace'require 'logstash/inputs/base'class LogStash::Inputs::MyPlugin LogStash::Inputs原创 2015-10-22 16:27:50 · 6253 阅读 · 0 评论 -
logstash 收集tomcat log demo
input{ file { path => "D:/server/apache-tomcat-8.0.15-windows-2014/apache-tomcat-8.0.15/logs/*.txt" start_position => "beginning" sincedb_path => "d:/info.txt" }}filter { grok {原创 2015-10-26 15:45:15 · 6450 阅读 · 0 评论 -
logstash file_to_file demo例子
input { file { path => "/home/yunshouhu/elasticsearch/elk/logstash-1.5.4/bin/data/demo001.log" start_position => "beginning" sincedb_path => "info.txt" } stdin原创 2015-11-13 11:34:13 · 1727 阅读 · 0 评论 -
logstash使用grok正则解析日志
http://xiaorui.cc/2015/01/27/logstash%E4%BD%BF%E7%94%A8grok%E6%AD%A3%E5%88%99%E8%A7%A3%E6%9E%90%E6%97%A5%E5%BF%97%E9%81%87%E5%88%B0%E7%9A%84%E9%97%AE%E9%A2%98/http://grokdebug.herokuapp.com/logs原创 2015-10-21 16:38:16 · 45235 阅读 · 2 评论 -
MySQL/MSSQL 扫描注入工具puppy源码
MySQL/MSSQL Scanner & Injector 源码http://code.google.com/p/puppy-pl/#!/usr/bin/perluse LWP::UserAgent;use HTTP::Request;sub help{ system('cls'); system('title Puppy AutoSQL inj转载 2012-12-26 09:31:04 · 1662 阅读 · 0 评论 -
golang调用c++dll获取mac地址
转自:https://golangtc.com/t/5a0556b34ce40d3bf47f606f功能:c++实现获取主机的的内存大小,系统用户名,mac地址和硬盘序列号,然后封装成dll给go调用,并提供go调用的接口。github传送门GIT 地址 https://github.com/easyAation/go-mac运行截图:c++部分转载 2018-01-04 20:38:31 · 751 阅读 · 0 评论