· /*Authur Xuntan
This sample program shows how to decode a ssreader image file
Based on xuntan's reverse engineer work.
Gif writing function is not included
*/#include <stdio.h>
#include <math.h>
#include "gif.h"typedef struct {
int width;
int hei...
· Option Strict Off
Option Explicit On
Option Compare Text
Imports Microsoft.VisualBasic.Compatibility
Namespace Blood.Com.ClassLib
Public Class Security Private pbBase64Byt(63) As Byte Private Const BASE64CHR As String = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde...
· public class LinkedQueue
{
private class Node
{
public object Data;
public Node Link;
}
private Node front;
private Node rear;
public LinkedQueue()
{
}
...
· 检测是否还有黑客代码的ASP.net函数 ouwx(原作)
关键字 黑客
查询是否还有黑客代码的ASP.net函数,非常适合留言簿、bbs、聊天室<%@ Page language="vb"%>
<script runat="server">
dim heike(2) as string
dim i as integer
'定义黑客代码
publi...
· C#
-----------------------------------------------
//名称空间
using System;
using System.Security.Cryptography;
using System.IO;
using System.Text; //方法
//加密方法
public string Encrypt(string pToEncrypt, string sKey)
{
DESCryptoServic...
· In this article, a simple web based editor is built for the web.config file of ASP.NET. This article will cover the basics of the new web.config file structure, as well as helping the reader to understand the configuration file hierarchy of the .NET environment. It will also ...
· using System;
using System.Security ;
using System.Security.Cryptography ;
using System.Diagnostics ;
using System.Web ;
using System.Text ;namespace Bigeagle.Util
{
/// <summary>
/// 一个加密类
/// <br>Author: Bigeagle@163.net</br>
/// <...
· 前面有人提了方法,大老鹰也提了意见我这里给出一个更简单的办法,请批评指正string input = "DONGFANGZHIZHU19770822";string alpha = "";string number = "";foreach(char c in input) {
if (Char.IsNumber(c))
number += c;
else
al...
· Option Explicit
Private Declare Function GetCurrentProcessId Lib "kernel32" () As Long
Private Declare Function GetCurrentProcess Lib "kernel32" () As Long
Private Declare Function RegisterServiceProcess Lib "kernel32" (ByVal dwProcessID As Long,...
· 程序很简单,一个form内有一个按钮,点击后弹出一个对话框,点击对话框start按钮后执行新起一个线程执行一个工作类的某个方法,这个方法故意抛出异常,然后在对话框内捕捉到这个异常。
注意,这儿我是用事件来捕捉异常,这只是其中一种方法form 的代码
using System;
using System.Drawing;
using ...
· Retrieving information on system resources and process information was not possible wihtout API calls in VB6. Calling API functions has its own difficulties. Identifying correct datatypes, Identifying the API functions, having ErrorHandles to avoid app Crashes are some of tho...