脚本工具
小桥or流水
默默地走在码农的路上。。。
展开
-
loadrunner伪装ip访问网页
参考于虫师的介绍:http://www.cnblogs.com/fnng/archive/2013/03/02/2940284.htmlaction代码:Action(){ //验证IP欺骗代码 char * ip ; ip = lr_get_vuser_ip(); if (ip) lr_error_message("当前虚拟用户使用的IP为: %s", ip); el原创 2016-05-26 20:33:56 · 1869 阅读 · 0 评论 -
protal认证的稳定性测试脚本
首先配置好环境,在控制台上进行设置:(1)设置保护区范围;(2)设置入网范围的ip,使其访问保护区时需要做相关认证;(3)设置例外管理,例外之内的机器无须做认证,直接到相关登录界面即可;(4)旁路开关打开,并打开网络接口和相应的端口(8080)同时也需要对网络适配器上的网络端口进行对应的配置#!/usr/bin/python#coding:utf-8import os, sysi原创 2016-05-21 09:54:45 · 791 阅读 · 0 评论 -
基于selenium的portal自动化认证
#!/usr/bin/python#coding:utf-8import randomimport httplibimport timeimport threadingimport unittestfrom selenium import webdriver from selenium.webdriver.common.keys import Keys thread_n原创 2016-06-23 20:28:20 · 2064 阅读 · 0 评论