- 博客(17)
- 收藏
- 关注
转载 C# 生成订单号的几种方式
public class RandomNumber { public static object _lock = new object(); public static int count = 1; public string GetRandom1() { lock(_lock) { if(count >= 10000) { count = 1; } var number = "P" + Date
2016-09-26 13:55:55
2066
转载 VS 里提示图标的含义
【转】提示图标 中英文含义" style="border:none; max-width:100%"> Namespace提示图标 中英文含义" style="border:none; max-width:100%"> Methodor Function提示图标 中英文含义" style="border:none; max-width:100%"> Class
2016-09-22 17:25:11
959
转载 C++连接SQL Server数据库
【转】C++连接SQL数据库第一步 系统配置1.设置SQLSERVER服务器为SQL登录方式,并且系统安全性中的sa用户要设置登录功能为“启用”,还有必须要有密码。2.需要在ODBC中进行数据源配置,数据源选\”SQL SERVER”,登录方式使用“使用输入用户登录ID和密码的SQL SERVER验证”,并填写登录名(sa)和密码,注意一点,密码不能为空,这就意味着你的
2016-09-16 13:12:33
3452
转载 Linux查看硬件信息以及驱动设备的命令
用硬件检测程序kuduz探测新硬件:service kudzu start ( or restart)查看CPU信息:cat /proc/cpuinfo查看板卡信息:cat /proc/pci查看PCI信息:lspci (相比cat /proc/pci更直观)查看内存信息:cat /proc/meminfo查看USB设备:cat /proc/bus/usb/devices查
2016-03-25 14:13:47
450
转载 How to install Linux Kernel Headers on Kali Linux 2.0 (Kali Sana)
Just installed Kali Linux 2.0 or upgraded to Kali Linux 2.0 and you need to install Kernel headers?. On our previous article we talked about how toupgrade to Kali Linux 2.0 (Kali Sana) from 1.
2016-03-23 16:16:01
1184
转载 How to Bruteforce WPA/WPA2 with Pyrit (Tutorial)
In this tutorial you will learn how to bruteforce WPA/WPA2. Bruteforcing a password can be very difficult and takes a lot of time, despite of the process being possible, cracking the password with Bru
2016-03-22 11:47:14
625
转载 wfuzz info2
********************************************************* Wfuzz 2.0 - The Web Bruteforcer *********************************************************Usage: /usr/bin/wfuzz [optio
2016-01-24 11:49:29
388
转载 wfuzz info
Wfuzz is a tool designed for bruteforcing Web Applications, it can be used for finding resources not linked (directories, servlets, scripts, etc), bruteforce GET and POST parameters for checking diffe
2016-01-24 11:39:25
503
转载 也谈exe文件关联修复
exe文件对于系统运行至关重要,关联出问题会造成系统瘫痪,以下是几种常用的恢复方法。1命令修复以管理员身份运行cmd,输入:assoc .exe=exefile ftype exefile="%1" %*2注册表HKEY_CLASSES_ROOT\exefile\shell\open\command下将默认键值数据设为"%1" %*
2015-12-17 12:30:02
690
转载 Linksys玩多了,来看看真正的Cisco~技术帖
无线路由玩多了,玩玩有线的!CHH里有同好者嘛?搬台cisco路由器回家,功能上绝对强大,可玩性绝对高~一台满配的二手2621xm ¥300~400,性能20M宽带够用;性能好点的,2811二手1000多点,百兆宽带也能吃下了。目录:一、上网基础配置二、优化DHCP & DNS三、DDNS四、ipv6隧道五、PPPoE多拨六、Cisco EzVPN七
2015-12-05 12:58:27
1782
转载 Linux C语言中sscanf 的详细用法
sscanf() - 从一个字符串中读进与指定格式相符的数据.[cpp] view plaincopyprint?函数原型: Int sscanf( string str, string fmt, mixed var1, mixed var2 ... ); int scanf( const char *format [,
2015-11-27 07:27:21
563
转载 get real ip
#include #include #include /* for strncpy */#include #include #include #include #include #include intmain(){ char *ip; int fd; struct ifreq ifr; fd = socket(AF_INET, SOCK_DG
2015-11-25 13:11:16
380
转载 Linux下获得主机与域名-gethostbyname和gethostbyaddr
1.数据结构hostent 和servent: struct hostent{ char *h_name; /* official domain name of host */ char **h_aliases; /* null-terminated array of domain names */
2015-11-25 12:46:21
326
转载 Socket Programming
Socket ProgrammingHow do we build Internet applications? In this lecture, we will discuss the socket API and support for TCP communications between end hosts. Socket programing is the key API for pr
2015-11-25 12:43:55
676
转载 Linux C语言中sscanf 的详细用法
sscanf() - 从一个字符串中读进与指定格式相符的数据.[cpp] view plaincopyprint?函数原型: Int sscanf( string str, string fmt, mixed var1, mixed var2 ... ); int scanf( const char *format [,
2015-11-25 07:52:34
383
转载 转的 蓝牙设计 低功耗
1. 问:什么是蓝牙通信?答:蓝牙通讯最初设计初衷是方便移动电话(手机)与配件之间进行低成本、低功耗无线通信连接,现在已经成为IEEE802.15标准,得到全球上万家厂商支持。 2. 问:如果从事蓝牙开发有没有前途?答:严格地说,这不是一个技术问题,而是一个世界观问题。什么是前途?如果单纯是金钱,从事技术是不太可能暴富的(注意比尔.盖茨是个技术商人);如
2015-11-23 11:05:55
371
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人