vulhub中收录。 python3 sshUsernameEnumExploit.py --port 35888 --userList exampleInput.txt bug.sweetysoft.comroot is a valid user!rootInvalid is not a valid user! 运行脚本: https://github.com/Rhynorater/CVE...
Autotesttoolsformobileapplications(移动应用的自动化测试工具)
basically,   appium or robotium is our choice ( perhaps, I am not sure)  copied from:  http://www.linkedin.com/groups/What-mobile-automation-tool-would-86204.S.192414075 Felipe Knor...
Ssh神器 Tmuxssh重连sshautoconnectre Connect断线重连autossh
自动设置SSH 客户端 参考:  https://www.cnblogs.com/chloneda/p/ssh-connect.html vim /etc/ssh/ssh_config ServerAliveInterval 10 ServerAliveCountMax 999 增加这两行即可。  (10秒钟心跳一次) AUTOSSH 还没试用。 参考:...
Linux控制台神器:搜索历史命令ctrl+rctrl+rtosearchthehistorycommand
Linux下的神器 ctrl + r (reverse-i-search ) 的使用方法:   (reverse-i-search usage: )  (press ctl + r ) 输入任意字符,例如: "mig"  就会出现 $  rake db:migrate    ( press ctrl + r, then input ...
【todo使用自动化来测试iphoneandroid
必须要注意做了。否则人肉的话实在没有精力。 http://code.google.com/p/selenium/wiki/AndroidDriver http://code.google.com/p/selenium/wiki/IPhoneDriver http://stackoverflow.com/questions/1759626/how-do-you-test-an-android-...
安装jenkins时记得要安装gitplugin哦亲!wheninstallingjenkinsremembertoinstallits'gitplugin!'
参考: https://wiki.jenkins-ci.org/display/JENKINS/Meet+Jenkins 1. download jdk2. download tomcat3. remember to: install GIT plugin!!!!  
Rust Cargo使用代理cargoproxy
在 home 目录下, .cargo/config 文件,添加下列内容: [http] proxy = "127.0.0.1:1080" [https] proxy = "127.0.0.1:1080" 就可以了。
单元测试的几个层次implementationstrategiesforunittests
1. 粗糙测试   (编译通过就行, 比如,一个controller里只测一个action ) 2. 一般测试   (测试 controller, view, model, lib , 不测试web service ) 3. 精细测试     ( 各个分支都要测试到。。。 web service 也测试,管他mock 不mock ) 这个是草稿
Nginx 使用 proxy_pass之后,根据requestheader来获取真实地址
参考:   http://gong1208.iteye.com/blog/1559835 使用nginx 做反向代理之后,request.remote_ip (rails方法) 是无法获取该IP的真实来源的. 所以,一个思路,就是,在转发的时候,把真是的ip放到nginx 转发后的request header中. nginx 配置: location / { ...
Ubuntu访问windows资源accesswindowsresourcesfromlinuxusingsamba
参考(refer to):http://wiki.ubuntu.com.cn/Samba#.E5.AE.89.E8.A3.85Samba 1. sudo apt-get install samba    需要加上文件夹的名字使 server这个参数完整,同时不要使用-L 这个参数。 例如:  (you should not use -L  as th...
测试文件上传testfileuploadinrails
非常简单。 You can use fixture_file_upload method to test file uploading: Put your test file in "{Rails.root}/spec/fixtures/files" directory before :each do @file = fixture_file_upload('files/test_...
Linux 扫描服务器开放的端口号。特别适用于查找ssh端口
nmap -v -A 101.201.234.193 -p 1-65530
Ubuntu访问windows资源accessingwindowsresourcesusinglinux
参考:http://wiki.ubuntu.com.cn/Samba#.E5.AE.89.E8.A3.85Samba 1. sudo apt-get install samba smbclient //对方IP/那个共享文件夹 -U 你的smb帐号,就是那个new 例如:smbclient //218.196.119.86/电影 -u new password:输入smb用户new的密码回车...
安装seleniumidecorrecturltoinstallseleniumide
1. 由于现有的URL失效( , 所以直接在这个页面中下载:  ( due to the related url is out-of-date, please come to this link to download: ) http://seleniumhq.org/download/ 2. 也可以看这里下载 http://code.google.com/p/sele...
Centos 中文问题的解决办法(ssh后,无法显示中文,无法输入中文)
1. 无法显示中文的问题: 修改 # 修改: /etc/sysconfig/i18n LANG="zh_CN.utf-8" 2. 可以正常显示中文,无法输入中文的问题:  编辑:  /etc/profile  LANG=zh_CN.utf-8  (在这个阶段时,仍然无法输入中文) $ yum groupinstall "Chinese Supp...
Linux下视频的录制和转码videoconversionandrecordingunderlinux
1. 录制,使用 desktop recorder. 可以选择录制视频的范围和大小。建议选择 "select window", 然后点击要记录的窗口,会自动的选中。 然后记得点击 advanced 标签页,设置 frames per second. 我选择了5FPS,一般24足够用了。 选择号之后点击record就可以了 2. 录制结束,鼠标邮件点击recorder的图标(此时一般是红色...
对ruby几个版本的测试performancetestforseverialrubys
前几天看到这个文章: http://inosin.iteye.com/blog/1740633 以及robbin的微博,说道更换RUBY PATCH 之后带来的性能100%提升,我打算在自己的项目中实际测试一下。   不仅仅是跑 $rake routes, 我要跑遍所有的 test case, 这样更有代表性。  ( several days ago ...
Linux下的文字识别软件tesseractocrsoftwareinlinuxtesseract
WINDOWS下有汉王OCR识别,免费的LINUX世界有啥与之对应呢?  我找到了tesseract.  具体的官方文档在这里(click to view the offical doc ): Ubuntu下的安装步骤: (setup steps under ubuntu ) 1.安装对应的lib (install the libs) sudo apt-get in...
Titanium进阶:在创建module的时候,如何加入参数,如何调用module中的普通方法以及它们oncreateproxy构建函数和普通方法)的调用顺序
refer to:  https://developer.appcelerator.com/question/163769/android-module-creation-pass-arguments-at-creation-time 很简单。例子: // your proxy.java: @Kroll.method public void create_marker...
如何更新githubforkedproject?howtoupdatetheforkedprojectongithub?
非常简单,就是在配置文件中增加一个 remote 。。。 # 增加一个remote, 起名叫 "upstream" ( Add the remote, call it "upstream": ) git remote add upstream git://github.com/whoever/whatever.git # 然后fetch 过来。。。 # Fetch all the...