Sign in to follow this  
Followers 0
hiepxuan2008

Binary Convert

5 posts in this topic

#1 ·  Posted (edited)

Hello every body.

This is picture about my question

binary.png

 

Binary 1:

0x789C25D04D4EC24018806148DCB8F406BD00ED37D3990E35610152D3CA4FA2140536CD37D3193A452B4AF92917F050C6C37813495CBECBE77554CE0D9594217601731E700C989100B24B81FB02DBA495B75A3F21C915659C692E9534320CB9CC3552E9132698D6A1BB2A13BA4CA3D36AA87A91594E8E4315141FA37DD179DF581DBDC57C736CEC7A5CEE474A94BED02515FBC539D9ACFB0B954D30AD1F3EB028A2E600BBA848FA9DC0CCAB844EE13CB70336ABC1A6CF71D668102FC2D2F36C0DA64AE554F9ACAEE27AD40C0677E6693EEE0C82433995A88A583F86B37B7F11343D0749CE88301C390F7D14C470AD18BB085900684478334963C726D689EDEFF7D7D649D2B8A8EBEDADE71197B83B0E2E1EB0C64FF79C57EEA1F2FE2B33F655EF3CE2692FF4945758BD3DEDB122973919878C12B7DCAEDB70DD25411780015CFD0121217116

Binary 2

0x206364356632623234616138306164353635613634666230306238323035333761013100640000BD39316463323435346535626362666239393562646561326233313437346565392E5A6A4932595445785A44633D4566594D7744633668714B75682D6F6B6965456D48356B777969674C6A754B63376A3337656A323775587A496B674158635F4D6154744A716168684579763073456849412D3666556E49324E307A55694234537430695456485F79653037573769327A536730666E54624E633334746E48744B794242436652554C2D4236766A4E62616368486551395346335836793D206131643431376635613535393361373166356563343438323034363061663739114D544820694969204869E1BB877020495448687474703A2F2F312E312E7335302E6176617461722E7A646E2E766E2F6176617461725F66696C65732F312F652F392F632F686965707875616E313939355F35305F32312E6A706701300938313638303034303004

Which func i should use to convert binary1 to binary2?

Edited by hiepxuan2008

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

I want to get information from this binary.

Who can help me to get information from binary1 or convert binary1 to binary2 use which func?

 

I know get information in binary2, but binary1 I can't get information

Edited by hiepxuan2008

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

In binary 2,

Dim $a[8], $b[8]
$a[0] = 3
$b[0] = 2 * Dec(StringMid($data, $a[0], 2))
For $j = 0 To 6
Switch $j
Case 1
    $a[$j + 1] = $a[$j] + $b[$j] + 10
Case Else
        $a[$j + 1] = $a[$j] + $b[$j] + 2
EndSwitch
    b[$j + 1] = 2 * Dec(StringMid($data, $a[$j + 1], 2))
Next
$gsign[$i] = _uriencode(_hextostring(StringMid($data, $a[2] + 2, $b[2])))
$session = _hextostring(StringMid($data, $a[3] + 2, $b[3]))
msgbox(0,'session',$session)
$mename = _hextostring(StringMid($data, $a[4] + 2, $b[4]))
$avatar = _hextostring(StringMid($data, $a[5] + 2, $b[5]))
msgbox(0,'avata',$avatar)
Edited by hiepxuan2008

Share this post


Link to post
Share on other sites

Again, you are asking a question without defining what the process is to get from the first binary to the second binary string.

So, what is it you want to do?


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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