06 2013 档案

摘要:sqlmap.py Database injection and hak 阅读全文
posted @ 2013-06-29 05:25 spaceship9 阅读(151) 评论(0) 推荐(0) 编辑
摘要:I've got some files which can help a little bit to figure out where people are from based on their ID card NO.That file looks like this:Then I converted it into *.csv format which is basically a text file. It's not hard that almost every common document editor has this functionality.Here is 阅读全文
posted @ 2013-06-28 16:40 spaceship9 阅读(607) 评论(0) 推荐(0) 编辑
摘要:这个是需要在本机上设定用户名的。根据不同的用户权限。然后让不同的人来到本机上取得数据。参考一下有用的文章:http://www.ericstockwell.com/?p=54 (强烈建议阅读此文章,别的先不用探讨了)还有:http://superuser.com/questions/370953/how-to-not-allow-user-outside-of-home-directory-with-sftp (这是个人问的问题,他说的很通俗易懂,是我们想要的功能)想对于ftp来说,sftp安全许多,而且,途径许多。用的ssh默认端口22传输的文件。如果更改的话,要另外指明。是经过这样一个过程 阅读全文
posted @ 2013-06-27 18:57 spaceship9 阅读(1987) 评论(0) 推荐(0) 编辑
摘要:引用: linux中VSFTP无法从外网访问问题! http://blog.csdn.net/zbulrush/article/details/841978原文:FTP协议有两种工作方式:PORT方式和PASV方式,中文意思为主动式和被动式。Port模式:ftp server:tcp 21 client:dynamicPasv模式:ftp server:tcp 21 <----client:dynamicftp server:tcp dynamic <----client:dynamicPORT(主动)方式的连接过程是:客户端向服务器的FTP端口(默认是21)发送连接请求,服务器接 阅读全文
posted @ 2013-06-27 17:33 spaceship9 阅读(7193) 评论(0) 推荐(0) 编辑
摘要:建议阅读知识:http://linux.vbird.org/linux_basic/0210filepermission.php 这是关于档案权限,用户,组等的问题。介绍的很有意思。1. Install vsftp servicedownload from the official website and build it from source if necessary :)on ubuntu you could useapt-get install vsftp2. vsftp settings Purposes: 1). make severial folders for differe. 阅读全文
posted @ 2013-06-27 15:39 spaceship9 阅读(759) 评论(1) 推荐(0) 编辑
摘要:---恢复内容开始---wget -m -e robots=off -U "Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6" "http://www.example.com"去掉了robots.txt中写的不允许站外引用的君子协定。用了-U 仿造了一下request的访问格式。这样,可以避免一些网站不允许wget这样的agent来下载网站页面。-m 是下载全部页面的意思。如果默认网页没有robots.txt 和 其内部的只任 阅读全文
posted @ 2013-06-27 01:58 spaceship9 阅读(422) 评论(0) 推荐(0) 编辑
摘要:FOR wirelesstools: hydra, medusa, crunch, aircrack-ng packages (airodump-ng, airmon-ng, aircrack-ng, aireplay-ng), macchanger, ifconfighydra is for common use. sorta world wideairmon-ng for creating virtual ethernet/wireless cardifconfig to turn the virtual card up/down if "down" macchange 阅读全文
posted @ 2013-06-27 00:40 spaceship9 阅读(476) 评论(0) 推荐(0) 编辑
摘要:解决方案。条件:1.手机android 商店下载 blueTerm2.向arduino中载入如下代码:char val;int ledpin=13;void setup(){ Serial.begin(9600); pinMode(ledpin,OUTPUT);} void loop(){ val=Serial.read(); if(val=='o') { digitalWrite(ledpin,HIGH); Serial.println("LED ON!"); }else if(val=='f'){ digitalWrite(ledpin, 阅读全文
posted @ 2013-06-26 19:45 spaceship9 阅读(4426) 评论(0) 推荐(0) 编辑
摘要:示例代码:类似与这样的led,共阴rgb led,通过调节不同的亮度,组合成不同的颜色。示例代码:/*作者:极客工坊时间:2012年12月18日IDE版本号:1.0.1发布地址:www.geek-workshop.com作用:共阳RGB颜色循环*/ int redPin = 11;int greenPin = 10;int bluePin = 9; void setup(){ pinMode(redPin, OUTPUT); pinMode(greenPin, OUTPUT); pinMode(bluePin, OUTPUT); } void loop(){ setColor(255... 阅读全文
posted @ 2013-06-26 19:30 spaceship9 阅读(1643) 评论(0) 推荐(0) 编辑
摘要:Plan slices~Plans:2013-06-25 17:18:56想想怎么做电脑的netbios,网络启动服务。Plans:写一个脚本远程登录服务器,并且执行一定的程序命令。ssh用的是。比如登录OS的ssh。这些内容都是涵盖在一个脚本中的,脚本中有删除 /var/log/ 中某项内容的功能。 阅读全文
posted @ 2013-06-25 18:23 spaceship9 阅读(109) 评论(0) 推荐(0) 编辑
摘要:This tutorial is copied from youtube.comHere is the link: http://www.youtube.com/watch?v=RXqo3lC-JPI&list=PL6-GrNvaJuAhLWFJVwCC2qHCECEWUJtU6&index=5I uploaded it to youku.comHope you guys enjoy it.And here is the source codes:Take notice of the list comprehensions :[v for k, v in something.i 阅读全文
posted @ 2013-06-24 23:52 spaceship9 阅读(890) 评论(0) 推荐(0) 编辑
摘要:pythonbottle framework#!/usr/bin/python# -*- coding utf-8 -*-from bottle import route, run, debug, request#from cgi import escape@route('/hello', method='GET')def hello(): name = request.GET.get('name') if not name: name = "This guy's unknow :(" return 'Hell 阅读全文
posted @ 2013-06-24 17:45 spaceship9 阅读(604) 评论(0) 推荐(0) 编辑
摘要:采用的是mario register这个方法,然后,把一段 auto-increament 操作记录下来,然后playback 循环往复多次。就达到了,每行都递增的目的。我写的文字如下:vim 输入的数字自动递增。采用的macro register1. 输入一行以后,开始输入,进入macro register,qa2. 复制这一行yy3. 将游标移动到需要递增的数字上,例子里面的是24. 输入ctrl + a (使第二行的数字递增为2)5. 推出 macro registerqTIPS:如果要输入多少次playback (重放功能)语法[number]@a此例子中,是输入的10@a表现结果为自 阅读全文
posted @ 2013-06-23 22:04 spaceship9 阅读(1401) 评论(0) 推荐(0) 编辑
摘要:很有用的命令。很给力的说。http://vim.wikia.com/wiki/Making_a_list_of_numbers我在 html中需要增加新的标签的时候,就有用到过。原来的html代码为: <div class="edit_box" id="box1"> <label> <h1 class="title">Title1</h1> <p class="description">很好</p> </label> ... 阅读全文
posted @ 2013-06-21 01:05 spaceship9 阅读(919) 评论(0) 推荐(0) 编辑
摘要:转发来源地址:http://blog.csdn.net/glorin/article/details/6317098替換(substitute):[range]s/pattern/string/[c,e,g,i]5.1range指的是範圍,1,7 指從第一行至第七行,1,$ 指從第一行至最後一行,也就是整篇文章,也可以 % 代表。還記得嗎? % 是目前編輯的文章,# 是前一次編輯的文章。pattern就是要被替換掉的字串,可以用 regexp 來表示。string將 pattern 由 string 所取代。cconfirm,每次替換前會詢問。e不顯示 error。gglobe,不詢問,整行替 阅读全文
posted @ 2013-06-20 19:02 spaceship9 阅读(181) 评论(0) 推荐(0) 编辑
摘要:how to make them work together?To make jQuery can request to different domain-name server, we use $.ajax and other things.For example here:Basic Ajax in jQuery: http://learn.jquery.com/ajax/jquery-ajax-methods/------------------------ the link above includes examples about how to manipulate json wit 阅读全文
posted @ 2013-06-13 19:58 spaceship9 阅读(578) 评论(0) 推荐(0) 编辑
摘要:the lastest Django framework is 1.5.1 while some references are still based on previous distributes.You could find the newest guideness here: https://docs.djangoproject.com/en/1.5/howto/deployment/wsgi/modwsgi/But you may need some old references since the lastest one can't cover most.Here is a 阅读全文
posted @ 2013-06-11 17:56 spaceship9 阅读(449) 评论(0) 推荐(0) 编辑
摘要:http://learn.jquery.com/javascript-101This is really helpful for people to learn JavaScript. JS has nothing to do with Java actually !And some JS data operationing methods are somehow very handy just like other programming languages such as PHP, python and etc.. You could find its awesome functional 阅读全文
posted @ 2013-06-10 19:17 spaceship9 阅读(265) 评论(0) 推荐(0) 编辑
摘要:这篇博客写的非常详细,非常详细了。http://www.eefocus.com/zhang700309/blog/12-11/288060_bcff3.html作者:宜昌城老张可以全部参考一下这篇文章。用了IIC协议后,可以用4根线来驱动显示屏了。可见IIC作用的重要性。 阅读全文
posted @ 2013-06-08 00:44 spaceship9 阅读(538) 评论(0) 推荐(0) 编辑
摘要:Hardware InspectionAnd it's datasheet and how to use it.You could download them here lb522 UI 模块开发资料:http://ishare.iask.sina.com.cn/f/37170296.htmlFor more information:http://item.taobao.com/item.htm?spm=a230r.1.14.24.YTYxz0&id=18891415760&_u=23b0km3106cThe Docs of the RFID/NFC module ( 阅读全文
posted @ 2013-06-02 22:21 spaceship9 阅读(446) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示