草庐IT

hex 与ASCII 、字符串相互转换

ascii转换为hex例如:{'A'}-->0xAunsignedcharAsciiToHex(unsignedcharcNum){  if(cNum>='0'&&cNum='A'&&cNum='a'&&cNum字符串转换为hex例如:"C8329BFD0E01"-->{0xC8,0x32,0x9B,0xFD,0x0E,0x01}voidStrToHex(char*ptr,unsignedchar*pdst,unsignedshortlen){unsignedcharn1=0;unsignedcharn2=0;unsignedcharnum=0;unsignedshorti=0;unsigne

hex 与ASCII 、字符串相互转换

ascii转换为hex例如:{'A'}-->0xAunsignedcharAsciiToHex(unsignedcharcNum){  if(cNum>='0'&&cNum='A'&&cNum='a'&&cNum字符串转换为hex例如:"C8329BFD0E01"-->{0xC8,0x32,0x9B,0xFD,0x0E,0x01}voidStrToHex(char*ptr,unsignedchar*pdst,unsignedshortlen){unsignedcharn1=0;unsignedcharn2=0;unsignedcharnum=0;unsignedshorti=0;unsigne

Vulnhub之My File Server 2靶机详细测试过程(利用Metasploit实现本地提权相当的爽)

MyFileServer2作者:jasonhuawen靶机信息名称:MyFileServer:2地址:https://www.vulnhub.com/entry/my-file-server-2,442/将上述靶机的虚拟机导入到VirtualBox,并设置网络模式为host-only,与攻击机KaliLinux为同一局域网。识别目标主机IP地址─(kali㉿kali)-[~/Desktop/Vulnhub/MyFileServer2]└─$sudonetdiscover-ieth1-r192.168.56.0/24Currentlyscanning:192.168.56.0/24|Screen

Vulnhub之My File Server 2靶机详细测试过程(利用Metasploit实现本地提权相当的爽)

MyFileServer2作者:jasonhuawen靶机信息名称:MyFileServer:2地址:https://www.vulnhub.com/entry/my-file-server-2,442/将上述靶机的虚拟机导入到VirtualBox,并设置网络模式为host-only,与攻击机KaliLinux为同一局域网。识别目标主机IP地址─(kali㉿kali)-[~/Desktop/Vulnhub/MyFileServer2]└─$sudonetdiscover-ieth1-r192.168.56.0/24Currentlyscanning:192.168.56.0/24|Screen

Ubuntu 终端美化(oh-my-zsh)

文章目录Ubuntu终端美化(oh-my-zsh)一、环境准备二、配置文件1、主题2、修改插件2.1官方插件2.2第三方插件Ubuntu终端美化(oh-my-zsh)一、环境准备这个美化教程适合于大多数的Linux系统,其实可以通用的。首先,我们需要进行一定的环境准备:安装Git,以及对Git进行相关配置sudoaptupdatesudoaptupgradesudoaptinstallgit#安装git仓库管理器git--version#查看是否安装完成#对git进行全局配置gitconfig--globaluser.nameSteveAnthonygitconfig--globaluser.

Ubuntu 终端美化(oh-my-zsh)

文章目录Ubuntu终端美化(oh-my-zsh)一、环境准备二、配置文件1、主题2、修改插件2.1官方插件2.2第三方插件Ubuntu终端美化(oh-my-zsh)一、环境准备这个美化教程适合于大多数的Linux系统,其实可以通用的。首先,我们需要进行一定的环境准备:安装Git,以及对Git进行相关配置sudoaptupdatesudoaptupgradesudoaptinstallgit#安装git仓库管理器git--version#查看是否安装完成#对git进行全局配置gitconfig--globaluser.nameSteveAnthonygitconfig--globaluser.

Meet Liu Yu from StreamNative: My Growth Path to Open Source in China

AsopensourcegainedpopularityinChinain2016,theemergenceofthecountry'sfirstopen-sourceprojectsandstartupshelpedtomakethetermmorevisible.Thatyear,LiuYu,whograduatedmerely12monthsearlier,wasintroducedtoopensourcebyaccidentandgraduallytransformedintoanopen-sourceprofessionalalongtheway.Inthisarticle,wein

Meet Liu Yu from StreamNative: My Growth Path to Open Source in China

AsopensourcegainedpopularityinChinain2016,theemergenceofthecountry'sfirstopen-sourceprojectsandstartupshelpedtomakethetermmorevisible.Thatyear,LiuYu,whograduatedmerely12monthsearlier,wasintroducedtoopensourcebyaccidentandgraduallytransformedintoanopen-sourceprofessionalalongtheway.Inthisarticle,wein

my2sql工具之快速入门

GreatSQL社区原创内容未经授权不得随意使用,转载请联系小编并注明来源。GreatSQL是MySQL的国产分支版本,使用上与MySQL一致。my2sql工具之快速入门1.什么是my2sql2.如何快速部署my2sql工具3.如何使用my2sql工具3.1使用my2sql工具解析binglog文件3.2使用my2sql工具快速闪回4.遇到的问题5.使用限制6.总结1.什么是my2sql?my2sql是go版MySQLbinlog解析工具,通过解析MySQLbinlog,可以生成原始SQL、回滚SQL、去除主键的INSERTSQL等,也可以生成DML统计信息。类似工具有binlog2sql、M

my2sql工具之快速入门

GreatSQL社区原创内容未经授权不得随意使用,转载请联系小编并注明来源。GreatSQL是MySQL的国产分支版本,使用上与MySQL一致。my2sql工具之快速入门1.什么是my2sql2.如何快速部署my2sql工具3.如何使用my2sql工具3.1使用my2sql工具解析binglog文件3.2使用my2sql工具快速闪回4.遇到的问题5.使用限制6.总结1.什么是my2sql?my2sql是go版MySQLbinlog解析工具,通过解析MySQLbinlog,可以生成原始SQL、回滚SQL、去除主键的INSERTSQL等,也可以生成DML统计信息。类似工具有binlog2sql、M