Jump to content
Sign in to follow this  
lionfaggot

Binary String

Recommended Posts

lionfaggot

so, im using the http UDF and i come across this as an http return on ask.fm:

0x485454502F312E3120323030204F4B0D0A436F6E74656E742D547970653A20746578742F68746D6C3B20636861727365743D7574662D380D0A5472616E736665722D456E636F64696E673A206368756E6B65640D0A436F6E6E656374696F6E3A20636C6F73650D0A5374617475733A20323030204F4B0D0A582D5853532D50726F74656374696F6E3A20313B206D6F64653D626C6F636B0D0A5365742D436F6F6B69653A206C3D3B20646F6D61696E3D61736B2E666D3B20706174683D2F3B20657870697265733D5468752C2030312D4A616E2D313937302030303A30303A303020474D540D0A5365742D436F6F6B69653A200D0A5365742D436F6F6B69653A20636F756E7472795F69643D333B20646F6D61696E3D61736B2E666D3B20706174683D2F3B20657870697265733D4D6F6E2C2030392D4665622D323031352031333A33393A333720474D540D0A5365742D436F6F6B69653A200D0A5365742D436F6F6B69653A20636F756E7472795F636F64653D55533B20646F6D61696E3D61736B2E666D3B20706174683D2F3B20657870697265733D4D6F6E2C2030392D4665622D323031352031333A33393A333720474D540D0A5365742D436F6F6B69653A205F61736B2E666D5F73657373696F6E3D4241683743446F5158324E7A636D5A66644739725A5734694D574A444E47355463554E7556566F725754673352334178597A6C524E5642335A30705863316C7562466C6D6245316C536B46594B3264465A5545394F684276624752665A32563058335679624349474C7A6F506332567A63326C76626C39705A43496C4E47466B5A546B7A4F44466C597A6B35595456685932566A4D6D45344E6A67774F474D325A4463344D7A512533442D2D363539316364326436613161373834323133646639666132336263313036373362333464306434303B20706174683D2F3B20487474704F6E6C790D0A582D4672616D652D4F7074696F6E733A2053414D454F524947494E0D0A582D52756E74696D653A2032360D0A582D436F6E74656E742D547970652D4F7074696F6E733A206E6F736E6966660D0A43616368652D436F6E74726F6C3A20707269766174652C206D61782D6167653D302C206D7573742D726576616C69646174650D0A582D506F77657265642D42793A2050687573696F6E2050617373656E67657220342E302E32300D0A446174653A2053756E2C2030392046656220323031342031333A33393A333720474D540D0A5365727665723A206E67696E782F312E342E32202B2050687573696F6E2050617373656E67657220342E302E32300D0A436F6E74656E742D456E636F64696E673A20677A69700D0A0D0A31300D0A1F8B080000000000000302000000FFFF0D0A313333310D0ACC3BDB72DBB892EFFE0A8467D692CF58BCE92E5B4ED94E32494EAE632739D9544A059290449B221800B2ACF1F8E1D4FEC8BE9DE77DDBDDDAB7F981993FDA0678112951921D4F6DADAB121144A36F6834BA81E6E1A3276F4FCF3FBF7B8AC66212A0771F4E5EBD38455ACD303ED54F0DE3C9F913F4F7E7E7AF5F214B37D139C321F7854F431C18C6D3371AD2C642443DC398CD66FAACAE533632CE7F36AE252E4B0E4E1E6B223752F784A71DED1C2A82D79320E4FD123456B7DB8D47032C428763823DF98050FCDFCE2177991F0924E611E96B825C0BE3025FE1F82D8C318CC3475F4E9F1C9F1F7FD9812182CDD18D1A0ACF34D203EA62C98F2EE899607E38AAEE1D24DDFE105501043DEA234E82E15E364E0E1D333A432199A1A78C5156AD54B261B7F07B8B00AB3BAE228216C38A3F1265461DF53315627EA90F27068EA2C08F3B0D4622CAC4003B534E1E2B39870C4F882629DEEE80845FBF821E8D58E4A31D45E0306DA51C5787D3D095E8AA333FF4E86C2F270DFC5D61867E7E75FEFA3DB01203E869B30828FF863EE3C2990BD2AB4A153CC182ECE92322CEFD09A9EEEDAFC04F30BBE4BD9BDB929E5EC696BB8FF76EFC61558C7DAEAB115FDCAF7B378C88290B0F6E51E10x7DFF862F6857F7F2D4490FDF96507287A3DEAA24F22FA41EE9218DB32BC7AAD7B5FD522077E201CC733A21A734148C06016106E8895CAF1B005030E2C399B6D27D5B78737BB03211C02BE85DE95F87E722C09FD7B8DD4B6D614121263AA96AA3480C86D32060B0E0E6DA3E2ABE186865635C26015DB6A6D753BD5E79EF58768EB3BE65739E1081915C2235F26DEA5FF535390D2414B573580F1A72E356E200A4BB3840EE18334E447F2A86B58E868C02AA1016505F1B513A0A480D5C12A95D11E60F93259743C867F4DB49875C3F1FD54E3E5FE397C7F58BB7D3E6D03F7DF9EDE3702CAE67D6E859F49C4F9F8F668AC632091C906BFC51E29EBF7892C3CB5EFC72C243CF3A7E49876FC6B4D5661F6B7EFDE4D5F9C9FB0CCF4EEAE8628411A3116162DED7E8A8277C11E4053F567E03FD8AE001E1D0837F7C465882AB04813FC1A33C82A2FF51BDDCB09ACD6BF8A747E128C514F8E1256224E86B0A66C099ABA13123C3BBA35865C623F1741775BF98B49C3A0E95E447B1BC8746DC5A517B39C2A26E74F40CCC1FD1A940B331162822340A089AE110B6138A2E4370F1D891DD733A7D94B3A0850AF8183CB30B10BE2B09C56A3086F84AB60776DB6C59751D9EB5647F523A31AE6B0A3CB596053AE9F5494DD0A93BAE15302E77286DDE653CF77F21B0B1B6EDEBB6BD165B4D75DF17A76535AEE1DF7AAC09408AB7B02F2DBC02E7CA2D702ED7FE62D92F2B5ACC03C2C78488053D0EAB9B1BD1E5C87030278340B01A69B95EA3D526CEB0D3765B56CB215EBD43EAD8B4B1DD6C982D5D92CBC50F65EC14F9C82FC4BC152E0FE417520C1EAC0A910428B04E162BE4025FEBB1F3C1116C6B2E9DA87746E03BDCB8F836256C6E587A43B793863EF143FD02582FC59DE32288B958D5E52A2F790502DD5ACB269D8E6777B0E7753BDD66B3D3699A8D36B11A4DC774EB8D5609FDB25023C74B89375F2CE672FE1DC5BF5332076B7997935F33BBF5BAEDDA43CBAE9B9D760BB74CB3D56CB7EB4E0BD73BDED0D9C67C8E83B5F3BF0AEB2B6EFDB211E582263AF2A83B9D8047D23D3AC1BE0AFF62A7A9A53BA30C038E3F9C3F1F9CBFFDDBD33712C0396D8467DF4EC30FFFFAE3E74EFBA7C872BBEF9BEF66A3979FF8E730F83C0C5E9397C77FFF71F4941CF7B5B56A5F62E4388AF40975FC800CDC31F55D02948638E0E4200770E57B840EB8809D7F32907E0C802A4C4CA2CA412CAC82922F069C30D847D37EB0743E3567176422C6ED702C7437A0536FC8C01DEB2111863BBC36B8A8E469311194B1E087BE5844E6C753417F82005CBD960FD80948754DE4B0326960DF6ADAE077F332298ED96A162BF6EFE7229D459C53F65259BD53BA5C0E8D38E5918F0EF5E6C80DC0F6FB9A7CAECD4800AE8368476536B7411E078C6FAAED6B4EB233AE3A2DCFBF42BED7D714604A5336C0C1475A2A6B01EC141041C0B148390E71EAAA35E461816B2C10352CC145E00C023AA239E01CB2B8E7D080760E998113AD2F34BF446691F7F5AEA8EF55CDBD8C73B991D400AF1FAE614576D0D0859CEBB2AFBD926DC80847E09FDFD1681AA9A4641FDDDCEE1DA03821894DB4C03F426A5C9EB302CF4509FDF0DC8F602F95FB1A842B3E8F023CEF3990115E6A47CFF11581200561D7A5D3503C5ED2455EB5DC1F85D3E88E823232F2B99C24C5850B0B5A904142642087AE3014D210A43C5590293BCB62157490C91849C5C5ACD4A499819F93844BF12FA548F7C9E9E3B9928E209EA9BDD57CF8F051AD16CF0D1A523601163013C443F01AE072737242AFE35386E2BB8134F94CC1F12B1E31481A7256BA3C265D59C97A5284B1CA74E5A411CEE3C8B48054026979244A87C96B086EC754E9950B69AB7CEA4C7C88697FD065E450BD91B3DDFB418F30C393EA0FCA62F774F0C73E0E205E3B660CCF2151463FA2CA2E9E4407782AC6C09FEFFA620E025E92B05F814E12BA900E7FF8F9C5299D443037A1A856EEB3F354F6F695DDC9B4AC5789A7A0B2AF66B25791AC4363CA825E25D54145AEA9672021D7E3A9C44330D0F7535888670x4AC2EAD29A3B00A54B5D278634C10C46F5CC83087CB41F8EE029B52D3F04939673E4871184E8493EB622771A9B8F7DCF93AD2B1C4CA179AFFD167283D812728B20995BB940FDF0993AB1C9B9B3158873D884D1E2B1E067D588588AC29817EAD562D06B8822B4858701A3C1D701094762DCD71AA696A820E913D851071810C99B96965B6C990AB24434E120C00E09E41A4A711C7D000393480F0DD59777D745EFBD555C870A41270F903802A819655E41683B137AD19D97DB4EE55E74AF153903397A973C6D963AD7C81FFDED1484CBE60A567910D059CA6EDA2A9A66C6DBCAE8C0BF24D9FCAAE7BB8E7430EC38C9C8F8B974E4CEEA44A6AE502DD3DA8C410258DCFF0BF357804631ED637088B0D3157D6ADE0126B89D291847987209210FBCCCEDD7897B287811A9BEBC1751FEB038F98D54D4984A66F68001F961C1120EFDC9A8842F1EF961BCABA9A42439F100188742641B77EA237FB866F7C8CD4ADE707656A3857477A8E1803051088E0E0DD9B114B6A574201C87A09EA71B5BBCB90A08C04747F18638F3C518B6CAF8D51AC22996B2D06E53CC55188D8ACDDA10BBC4A1F47279F28B414BB2349CDC6443100BAC8F40B1E49AB85341AA150A09C11836964A0C8E93D6D0A9EC1DC4E600BB7148DCD80AF62B464A7C906C42861A58D9176C4AF6967C104C7CD9ECA6285E51ECAD99E444D2404114CD4946507F9E2E05CC226C9A7751A5987D972AC56C9D2A13DA0FD06482E1FF8322AF2E65A07A29C85D547975F95DAABCBA5CA7CA8CFA039499E178A83A0B1E66F1B8E41A1871E955CEE92FF2124626E068E1E7DB94C880359F9F38E066CB75CA0827222729B8F41155E7AF0CA5FB2FA20C4D93B8E3F1CE12E38B787C5D609E041A9BE3F9F467297318429EC1C7903AC8CCA198F62C67683B4B0FE5FA5C939EA7C9C322432F39A980BF4C36E820B059C7C704C597A7C544A4D879A6B2C7C2F69001A8AE33D00F06C4C593F3629CB32E178D9B27C9DE5D9CEEF1C45709E74B2AC3C8976F5FBC416FDE7E7AB43C8F3B65FB617C60751C4527D81B1537B71C37F2A895F70C43A602C959AB3A67E58232220FABB9E111C84A03FE1890428F0EA1E470224304362290580D9C00CB8C383DFC28505D96C7A3B3502EA801288981CF1900812D2B360E6AB811F3F60ED81C24E739F993F8F55E2E15D017D390705D1DBFC727C95164F85EABDEEC745B8D76FDA112F9D11812C17B0804906752C90A6D41A6EDBE66A768A5B331E5CF0903672503ED8CFE192108BA2A1C8DA11395AEFC740D1796843C4B2B5C00E4CD37A4940DB10069EADD7AB7692E6B2491642091C8AC12E4C781BAA64A14AA3A141D191D0C2CB3D5359B56DDD40A87FF30CED4D36BFEF818BBDEB18D9669194DBB6188F174E20C841FCE0DD8C660EAF48B68142798780DE32F6988C518878309E5FCA15C772CCB6A746D6B85E9C632D3AD86D1A89B8659B7F24C0FC1A6B6B3FC7C3CA611B1EC0773DBE998F56609B7F632B76DD368D94DA36DB7EFCFED84B0399E50FACB83D9ED36ADAED56CDFC12240B19D96D16C7F07BBC7CCC761885F6107333F200F65BA699A9D66D3BC8B8EEB460B2C022CE87BCCF8536312F9ECC1EC761BF556B75E6FDF81DDA6D168768D36FCE6D805EB6FB5BA9D410B66CA36EB9D8ED5B0CD963D688357305BED5663106E97E5059FC0D6721C5C06A16BB5DA7F82DD74EC56BBB97D51C214D8F596D16D1564B24DAB3130AD816D0DACFAA0DE92CF1EC46EDB05917EC5F33D8C8307CBD0AE37BAF5766BBB0CE00D6D0BE6C56E7E8F1961C799CB649940603A301FEE61DA6DCBEAB6DA77527DBBD9311A8DE6777818ECF99C866C82E70E616CFE708369351B9D666BEB22B0BB1DA3038EC66CDAF7E7FACC9FD0F0898F1FEC172D30EF76D7DCCE2D9844B3691976A7C0EDC0E3AED96C98DB3986906FEC9307DBB2D5063F57EF34B6FB7150AB69B6C1CFD8DF63CB9C040436F507B35BEFB4BAED6663AB7E612F353A5DCBE834EA05F7D1E858CDD6002CBCD9EDD8DD2E3858BB5507B40D708FF566C32E7789590496BB65C1E1682A0B8F245041661EE130655F9E42439688DD4B143FD200E47C1A8E0248BF200D02D07CB8B8FB97EB93F6C132C24C8992A63164DB7350959440987AF48CE1F0B77F629F4B69EE47C723F7A0F3844C0577C7F7A742F83DA83C057DFDF61F34B83F195FDC83CC0B8103883BE8FDC988FBCCCDF96FFFC32E7FFB27B93F9928B807997734E097FEFD89B0E93D88FCFEEF7FFCDB1FFFF8E31FBFFFF7EFFFF9FB7FAD2756A421D7CF1DE71F078124B438A7FA411FCA73A78032875E576F24D6DEEEB72915070BD4717B5F55D6259DA7634A39412948FC72CD6D38D0CC0079896FC28CD1590DA00639610A89A4AC1E833452C1317F34164ABE7C05A174320BEF129FD3FCA4F268744A3D224F6B902CD68D24B32371109F7320D9048010220379BE86DEC9B63ACBD976E52C0533FE8AB27B67F4576327ADD389137879E39BE01DF81EEAA36EA76B37CD96593FD80099AA4056F89050DB042A4FA0B09080F58D706A7625D850FD699BC9CBEB2D809D3E9FFD74FAF2D39B8BF71FDE7F6B5C38D6ECB59654F7948F54772530D23C4875F3F5EB91D4CAE2946AB34E0B5B91ACF84FEAE1BCF4BA419D65C819C39EB120AC0AB9F244429A2B96C95D0C176F810FD2F32F698F63228DAAAF414633F33D794F686585090E651E6135D552D509075A6ABFDFC7B091D981F138BE6032D505BC527DBF44EFAA77348525FCF68D7A8EE5EB9B9A913BDE3834F2826F38445C53E3B45328B5C80D1B522A2B44F6D3A7D5F1B9F3940478E9A277D153736027F50AE746BB2E8DE607E8ECC5314A6A966572827E2DAD6E51E5B706C74322E60xCB1E4FDD55165DDE50B041027C74A67E954FDD843B62FE1576EF8A3C853E7A173F6C452F28BF236A0979744ED8846F452A0BA4EE8A368695B77D7423620FCC55F89CC8B2446E84647647FC30503B3A4E46FBE168038D21219EBC61BE0F7A5539E48ABBED60050265BB588C0C4DF9BA0D6C01513C732DA966C8197921A8CD8AC19297BDD25AB5F51B7931E82D9BD1FFC30D3D09B94BA2F3AE7604118ADD3C393D4802F2F51A2B36D6789C4D7E6A75CC0597255FE0A5B84727F1372AEB87EF6CAEC65D546C66B8963F6339A7100EEA439F91276F5FFF2C41AAAB559C8511D94764D5EC3B1EDDE5BBBBF9964EC394E2DE8DC4F3FEEDBBD7FA3098F2B1AC7ABADD54CFBA42DC2B2D2C25A12A7695BF6BBFADB9DF1774F96F840623AC3E0D82DF0C7BA177B0F87C286B29C8952ABDED01988C4300C937083AD4CFAFBFA22F5F254DD9D223A9B42F9501A4B1C77199A2BC6CFD705C5315E196D9ADD995AF7B2BE082C17A9361E0954F66650080EF74CA059D7CC4AC927EEA65ED17EA150D039D8F7D8E5C05A81885168C949F91F0800AF4174B07CDC84F9718F190AAD12360F37A82AF22EBA890AC99ABECA7F888AA76417488043C2F50FBB2D8790BB6302EF484DECA7EC6E21924F80A571CBA01622D23AB494EB5D764E2C81B61081FB58FE0CD0585864722301EF0ECE07364E9A498F28DD491BDAC9B8C3087AD9F289DC4F7DBB5805C9100B0BD8DE26F4297B0C9E9D8C97FBA987E4CA942520C869015D2C7B5AC4F03B57F55D3C243584423ACA725EB4B4655519D98CF43177AE51D7B6CC0F012223D7855ADC4576C15D4CF51CABE188D1815143C2F7A8C2AE95D1CE74105F5E2761C255654C965122BD630083917BE1BC78A40E9825732AA54DDB7C9F2F74CDE9BB2E5241750FAD9A0D404CF2B624444A2057E323FC7A337A0CF853EBE985F0F109745A200F0063225DD0FC106C4099107A6D511DE475CAD81DB3DE9E0EEBE3C373B89F225BFEEA39AEF2002DA74E3EF88E4C3AA2F8A5F2F7CFBA2B9D11B1D653A86406402E6CBA4212D9E331784162F63CF71835CAB87341BA8B9363C58CD86D5689AAA5D87B6FC6DF4D2CF3E0C0D149EA45BABD65E3ACF4583D7121DEDED2395CF6D36870C3A3187D53520FF78BA0C36987E3FF97099F7345806D995347734580569AEE468720D68BA528F8B9927AB3C3073C76A113804BB715A9727BD792D2CCD5FFE1B5AF027EBAC9B4BE52496B162DF853432BBDA4E2558C37BF4D8B5FAF6AE6BF7D3F9DD75EBFD5DB7D18FE7F55FEC67BB6E135EB4E09F251FAEFAB66EEEBA177D4B1D65E4B3B8075AFF8635B61DF3FF020000FFFF0D0A3131310D0AA45BCB0EC22010BCF72B0C674DF5EA2B69E2E3DC831F40B0311E244521F1F36577B1C5D2D536DE80F0686186295396EBD93849BCC244CA2B2A6E781565195E8151533AA9AD920F3BF18044FB65A0F81B2F171EC840C1773230905509F0CF87E84446D8A96E7F80BE520EFE5EB6C0AFE05A0561DFC03B6374140207B32DE671E09485581CD42B9995A8CA77B27416E54339546DC789073685662CCBE089A658251212F8AA0A4B16F647ECC848A5EC52D4B3FB62571CF4499717732C04365B8D3179C8A8892C1EF213F3FAFAF41B4267F2B130EF0C4A37E5C8FDD988B9E83789D0096AF0CB1A3208F3BD3E4750B703A1CEB3BCA560CAF21F51AA7DC782DEE3021FB1B9CE21E20C0685E8FA6DF6020000FFFF0D0A610D0A0300623BCB37324400000D0A300D0A0D0A
so im like cool i can convert it to string... except binarytostring() does not convert this block to string, the string stays in the exact same form. any ideas? Edited by Melba23
Added tags

Share this post


Link to post
Share on other sites
Melba23

lionfaggot,

Necroposting in a 6 year old thread is bad enough, but hijacking it as well is too much. Just start a new thread when you have a question rather then giving me extra work to split the post off and create a new thread for you. ;)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Jos

Save it to "test.txt" and run this script

$Fh = FileOpen("test.txt")
While 1
    $irec = FileRead($fh,40)
    If @error then ExitLoop
    ConsoleWrite(BinaryToString("0x" & $irec,4))
WEnd

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     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
lionfaggot

thanks Jos, if you were a girl id treat you to a nice steak dinner with plenty of fries

EDIT:

on a side note i already tried splitting the return into chunks, headers return pure clean http response but when i get to the body it GOES NUTS. starts giving me all these crazy chars. i think i know what to do! im not going to do anything! i have no idea!

Edited by lionfaggot

Share this post


Link to post
Share on other sites
lionfaggot

gzi} encoding? i dont know how to use that. any functions available? it says gzi} encoding though, not gzip, so i must confess i have no idea what this is

Edited by lionfaggot

Share this post


Link to post
Share on other sites
water

Search the forum. I think there us an UDF available.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
lionfaggot

i looked at the zlib udf but i have no clue how to use it, guess ill ask there

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  

×