|
|
|
[原创]UTC时间串如何转换为本地时间?
关于楼主的问题: 13016401966164198这个时间代表本地什么时间? 说说我的理解呵: 一般timestamp的单位是秒。你给的值应该是微秒,转换的结果就是: Tue Jun 22 15:21:46 2382 |
|
[原创]UTC时间串如何转换为本地时间?
你说的应该是timestamp(时间戳),或者叫epoch时间。要转换成本地时间,可以用: # include <stdio.h> # include <time.h> main(void) { time_t epoch = 1372191263; //你的timestamp printf("%d%d -> %s", epoch, asctime(localtime(&epoch))); } 输出是: 1372191263 -> Tue Jun 25 16:14:23 2013 |
|
[求助]有没有软件直接从udd里提取标签和注释
对以上的脚本进行了修改,以兼顾OD 2.01版本。 |
|
[求助]有没有软件直接从udd里提取标签和注释
不知道你的OD是什么版本? 下面的python脚本是针对版本1.1的,供你参考: ######################## # Tested with Python 2.7 # udd file version 1.1 ####################### import os, sys import struct import datetime def FindUs(f, data): # get offset and comments index, key = FindKey(data) while index: f.seek(index + 7) offset = f.read(4) hexstr = hex(struct.unpack('I', offset)[0]) Writefile(hexstr + '\t\t' + f.readline()[:-2] + \ '[*User*]' * (key == 'Us6'), output) # *User* for User comments data = data.replace(key, 'XXX', 1) index, key = FindKey(data) def Writefile(string, f): f.writelines(string + '\r\n') def FindKey(data): index_c = data.find('Us:') # OD generated comments index_u = data.find('Us6') # User added comments if index_c == -1 and index_u == -1: return None, None elif index_c < index_u or index_u == -1: return index_c, 'Us:' else: return index_u, 'Us6' def PrintHeader(f, data): # generate the header f.seek(8) v_str = f.read(21) Writefile('"'* 40, output) Writefile(v_str, output) Writefile('Generated on ' + datetime.datetime.now().strftime('%Y-%m-%d %H:%M'), output) Writefile('"' * 40 + '\r\n', output) if __name__ == '__main__': try: udd_file = sys.argv[1] # get parameter as file f = open(udd_file, 'rb') data = f.read() # read file as string output = open(udd_file + '.txt','w') # create a new file Writefile('FileName: ' + udd_file, output) PrintHeader(f, data) Writefile ('Offset\t\t' + 'Comments', output) Writefile('======'.ljust(20) + ('='* 25).ljust(50), output) FindUs(f, data) Writefile('\r\n[END OF FILE]', output) # File is done f.close() output.close() sys.exit(0) except: raise 比如保存脚本为uddReport.py,运行的话可以: python uddReport.py udd文件名 不出错的话会生成 udd文件名.txt。 |
|
|
|
难道就没天津人?
这么多天津卫的朋友,应该开个QQ群呵~~ |
|
[求助]请大家进来看看,这到底是什么壳?(图)
顺便问一句:有朋友搞定了吗? |
|
[求助]请大家进来看看,这到底是什么壳?(图)
最初由 q3 watcher 发布 在我的朋友的机器上也是运行不了呵。真是怪了!! 可在我的英文98,中文2000,和英文XP上运行的好好的。。 用了KernelKiller 的脱壳机XprotStripper1.1,脱壳后,说OEP是406CED。但脱壳后的程序运行出错(图): 问了作者,他说是bug。 |
|
[求助]请大家进来看看,这到底是什么壳?(图)
最初由 菜鸟求学 发布 俺不是很懂呵。。。xprotect和themida是一回事吧。 下面是别人的评论: Xprotector/themida: for these ones, the application can be dumped and, again, the IAT can be rebuilt using code injection. However, we have gone one step up. There is no way of debugging into the protection itself (it creates 25 threads in ring0 plenty of anti-debug). |
|
|
|
|
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值