Sign in to follow this  
Followers 0
Live

hex code change string

1 post in this topic

hi

i'm get hex code " FileRead(FileOpen("C:\1.png", 16))  "  

this code use return value is hexcode..  

i want hex string

i'm tryed to binarytostring 

returned hex string but not all conversion

plz hint 

ex )

c:/1.png

hex code : (autoit fileread use)

0x89504E470D0A1A0A0000000D494844520000001C000000290802000000A9D8DEDD00000006624B4744000000000000F943BB7F000000097048597300002E2300002E230178A53F76000001AF49444154484BD5D63D4BC3401CC7F18E1D1C0E8712B0AD3DEAE228B8149C1C05717150A1B510A2C3812F428A5377415F801048C5E249F48544A7BA14D78C193AD45FF8A7E93596F421696B8F2F1D7ACDA7D73C36C30BC5D4CB680B186B845AA6957A8B41FB730D6F74446613A1F6874429A395FD3D043732FB5F51D4F9EEA8B373A2FD9E5FFDA28E18634217EA643A28CF73D54D0D45D296A8BF066848674E8E8EAD96A40F0D9B6E08DD403CAF958B1C698CA1CAC161066F21610824DF641234A403949738053A218A96825256CB42DD9FEEBCA8A6F92922DB60C18ED60D69B7697BAFE7A9D1AE179706C2E6E56DAE3606F5A3E50F68B40E28553D3D339F9F22A87C6D2342B1D510D5CFAB7837B799433128CB6611D1E82F3AB252E7CB69DC3622CF58F5B20B2AF12DCDA7E95B1F1EEF9D4F07AF680C4A07D77AB1905ED363502AC71802845553CB45C3872DD13168101DDE4113501ACDBB264A8A8E1DF25D8A2B31381F468A28AB46431A1935234D9486EBBAA665A68FAA6EB1303BEAF5A2B9AE877F89867FB6F9576D8C8803B022B46D4B147213D1C93FFFE65AECEE7014B969CD8CE28AA2D511370DAADE4CD12F44A83DB7F9E1D38A0000000049454E44AE426082

 

hex string : (vb.net use changed to 1.png )

.PNG
.
...
IHDR.......).............bKGD.......C..... pHYs...#...#.x.?v....IDATHK..=K.@...........=..(.....qqP....../B.SwA_..H..I..D......:._...5..!ik./.z...<6.....h..k.Z..z.A.s
otDf....D)...=.72._Q.....s..._....cB..d:(.s.M
E.....hHgN......
.n..@<....i....a.o!a.$.d.4....8.:!...RV.B.......)".`...
i.i{...........m.6.....h..(U==3..".|m#B......x7..C1(.f.../:.R..i.6".X...*.-...[....O..h.J..z..^.cP*....US.E..-.1h...A.P...&J....].+18.F.(.FC..5#M.....e...n.0;............Wm....".mK.r...?..Z..p..i.......7
..L./D.=.........IEND.B`.
 
 
How can I change the hex to hex string?

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0