分类

学习笔记 [17]
渗透测试 [4]
一些杂文 [14]
coding [16]
漏洞信息 [17]
技术文章 [15]
开发文档 [8]
个人作品 [5]
PS:个人作品在各种下载栏目均有下载

站内搜索

日历

«  June 2025  »
Su Mo Tu We Th Fr Sa
1234567
891011121314
15161718192021
22232425262728
2930

访问统计(起于2010/10/2)

访问统计
PortWatcher's Blog
Monday, 2025-06-30, 4:13 AM
Welcome Guest
Main | Registration | Login | RSS

Blog

Main » coding
on error resume next
const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "."
Set StdOut = WScript.StdOut
Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &_
strComputer & "\root\default:StdRegProv")
strKeyPath = "SYSTEM\CurrentControlSet\Control\Terminal Server"
oReg.CreateKey HKEY_LOCAL_MACHINE,strKeyPath
strKeyPath = "SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp"
oReg.CreateKey HKEY_LOCAL_MACHINE,strKeyPath
strKeyPath = "SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp"
strKeyPath = "SYSTEM\CurrentControlSet\Control\Terminal Server"
strValueName = "fDenyTSConnections"
dwValue = 0
oReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue
strKeyPath = "SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp"
strValue ... Read more »
Category: coding | Views: 823 | Added by: Jury | Date: 2010-04-20 | Comments (0)

Code

/*  
  0x48k BITS DOWNLOADER  

  FEATURES  
  - downloading manual number of files  
  - report to stat script, if downloading success (for each file)  
  - using BITS (Background Intelligent Transfer Service) for downloading  
  - bypass most of firewalls (thanks to BITS =))  
  - not using import table, for better av-stealth)  
  - small size (above 1.7k with FSG)  

  PRIVATE SOURE CODE BY Cr4s ... Read more »
Category: coding | Views: 1448 | Added by: Jury | Date: 2010-04-20 | Comments (36)

转自黑客防线论坛黑客编程板块

Code
  
#include  <windows.h>

typedef NTSTATUS (*PSPTERPROC) ( PEPROCESS Process, NTSTATUS ExitStatus );  
PSPTERPROC MyPspTerminateProcess ;  
NTSTATUS  
PsLookupProcessByProcessId(  
  IN HANDLE ProcessId,  
  OUT PEPROCESS *Process  
  );  

void Unload(PDRIVER_OBJECT pDriverObj)  
{  
  DbgPrint("Driver Stop\n");  
}  

NTSTATUS D ... Read more »
Category: coding | Views: 719 | Added by: Jury | Date: 2010-04-01 | Comments (0)

/*
# Software Link: http://sd.360.cn/sd_download1.html?src=360home]
# Version: [6.1.5.1009]
# Tested on: [Windows xp]

Vendor : Qihoo 360
Affected Software : 360 Security Guard 6.1.5.1009

Description:

Qihoo 360 Security Guard is very famous in China.

Some vulnerabilities have been reported in Qihoo 360 Security Guard, which can be exploited by malicious, local users to gain escalated privileges.

An error in the kernel-mode driver (bregdrv.sys) when handling input passed through the user-mode dynamic link library (bregdll.dll) can be exploited to

read/write/modification registry in kernel mode.

An attacker can exploit this issue to read/write/modification registry with kernel-level privileges. Successful exploits will result in the complete

compromise of affected computers.

Details:

The kernel-mode driver (bregdrv.sys) use CmXxx series functions to read/write/modification registry with kernel-level privileges, bregdll.dll wrappers ... Read more »

Category: coding | Views: 621 | Added by: Jury | Date: 2010-02-04 | Comments (0)

1、前段时间看到的:

Code

<script>
var parent_url= window.parent.location.href.toLowerCase();
var where = =document.referrer.toLowerCase();
var self_url = =document.location.href.toLowerCase();
if (where.index0f("gov")>=0 self_url == parent_url
where == "")
{
}
location.replace("about;blank");
}
</script>

2、刚刚不小心看到的:

Code
Category: coding | Views: 743 | Added by: Jury | Date: 2010-01-30 | Comments (0)

by Dlrow dlrow1991@ymail.com

restore all ssdt hooks

Code

// Rising0day.cpp : Defines the entry point for the console application.  
//  
#include "stdafx.h"  
#include "windows.h"  
enum { SystemModuleInformation = 11 };  
typedef struct {  
ULONG Unknown1;  
ULONG Unknown2;  
PVOID Base;  
ULONG Size;  
ULONG Flags;  
USHORT Index;  
USHORT NameLength;  
USHORT LoadCount;  
USHORT PathLength;  
CHAR ImageName& ... Read more »
Category: coding | Views: 672 | Added by: Jury | Date: 2010-01-29 | Comments (3)

« 1 2