![]() |
|
[Shell] Batch BYTE order mark - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Shell] Batch BYTE order mark (/showthread.php?tid=5585433) Pages: Pages
1
2
|
Batch BYTE order mark - The Phisherman - Mar 27, 2017 Hello everyone, just thought I would share a trick that unknown to many, its called a byte order mark, and protects your code from basic text editors, for hex editors, it will do nothing simply put this at the start of your code Code ÿþplease don't run around telling everyone this or scan on virus total, I may need to, ahem use it Thanks, any feedback, comment below * - zask - Mar 27, 2017 (Mar 27, 2017 04:33 AM)The Phisherman Wrote: Hello everyone, just thought I would share a trick that unknown to many, its called a byte order mark, and protects your code from basic text editors, for hex editors, it will do nothing Yup already knew it, put it in the begging of batch file and everything turns Chinese, remove cls and you'll get an error. I made a post on my profile that involved it but no one replied. * - JoshuTee - Mar 27, 2017 Thanks for sharing, but as @zask pointed out this is pretty known already, nevertheless thanks for contributing! * - gogglebot - Mar 27, 2017 I'd never personally heard of this or seen it mentioned before for some reason, interesting share! * - ɩᴄᴀʀᴜȿ ᴌוᴠᴇѕ™ - Mar 27, 2017 This is the code for Bouncing Balls Encoding: USC-2 LE BOM save as .bat Code 汣൳䀊捥潨漠晦☠猠瑥潬慣湥扡敬敄慬敹䕤灸湡楳湯††敳⁴愯∠楷瑤㵨〵ⴠㄠⰢ∠敨杩瑨㐽‰∱挢湯楗瑤㵨楷瑤∵挢湯效杩瑨栽楥桧⁴∶弢〽ഢ †映牯⼠┥湩⠠㈭ㄬ┬楷瑤╨
潤猠瑥∠畯整䉲晵敦㵲漡瑵牥畂晦牥⌡ഢ †映牯⼠┥湩⠠ⰰⰱ眥摩桴⤥†潤猠瑥∠楷瑤䉨晵敦㵲眡摩桴畂晦牥‡ഢ †映牯⼠┥湩⠠ⰰⰱ栥楥桧╴
潤猠瑥∠孟┥嵡┽楷瑤䉨晵敦╲ഢ †椠硥獩⁴┢整灭尥畣獲牯潰硥≥⠠猠瑥∠汣㵳┢整灭尥畣獲牯潰硥≥〠ㄠ•
汥敳⠠猠瑥∠汣㵳汣≳⤠††潭敤挠湯›潣獬┽潣坮摩桴‥楬敮㵳挥湯效杩瑨ഥഊ †猠瑥∠慢汬㵳∶††潦氯┠戥椠ㄨㄬ┬慢汬╳
潤⠠††††敳⁴愯∠孲┥嵢㌽ഢ †††猠瑥⼠砢╛戥㵝爡湡潤Ⅽ┠‥楷瑤孲┥嵢ഢ †††猠瑥⼠礢╛戥㵝爡湡潤Ⅽ┠‥敨杩瑨⬠爠╛戥≝††††敳⁴愯∠孩┥嵢ℽ慲摮浯‡┥㌠⬠ㄠഢ †††猠瑥⼠樢╛戥㵝爡湡潤Ⅽ┠‥′∱††††敳⁴愯∠季┥嵢┽戥ഢ †††猠瑥⼠戢慭坸╛戥㵝楷瑤孲┥嵢ഢ †††猠瑥⼠戢慭䡸╛戥㵝敨杩瑨ⴠ爠╛戥≝††††敳⁴愯∠浢湩╛戥㵝孲┥嵢ഢ †⤠敲湩彦潬灯潦氯┠⌥椠⤨搠
潦氯┠戥椠ㄨㄬ┬慢汬╳
潤⠠††††敳⁴愯∠學┥嵢㴫孩┥嵢ഢ †††猠瑥⼠礢╛戥⭝樽╛戥≝††††††††晩℠學┥嵢‡敧ⁱ戡慭坸╛戥⅝猠瑥⼠砢╛戥㵝浢硡字┥嵢Ⱒ∠孩┥嵢㴪ㄭഢ †††椠礡╛戥⅝朠煥℠浢硡孈┥嵢‡敳⁴愯∠孹┥嵢戽慭䡸╛戥≝樢╛戥⩝ⴽ∱††††晩℠學┥嵢‡敬ⁱ戡業孮┥嵢‡猠瑥⼠砢╛戥㵝浢湩╛戥≝∠孩┥嵢㴪ㄭഢ †††椠礡╛戥⅝氠煥℠浢湩╛戥⅝†敳⁴愯∠孹┥嵢戽業孮┥嵢Ⱒ†樢╛戥⩝ⴽ∱††††††††慣汬㨠汰瑯℠學┥嵢‡礡╛戥⅝℠季┥嵢ഡ †††挠污挺物汣砡╛戥⅝℠孹┥嵢‡爡╛戥⅝⸠††ഩ †┠汣╳††††捥潨‽漥瑵牥畂晦牥ഥ †††映牯⼠┥湩⠠ⰰⰱ栥楥桧╴
潤攠档㵯⌠弡╛愥⅝ണ †††攠档㵯┠畯整䉲晵敦╲††潦氯┠愥椠〨ㄬ┬敨杩瑨⤥搠敳⁴弢╛愥㵝眥摩桴畂晦牥∥ഩഊ㨊汰瑯砠礠††敳汴捯污††††敳⁴挢┽㍾ഢ †††猠瑥⼠弢㵹縥∲弢㵸縥∱弢㉸┽ㅾ⬠ㄠഢ †††⠠湥汤捯污††††††敳⁴弢╛祟崥ℽ孟弥╹㩝ま┬硟℥挥縺ⰰ┱弡╛祟崥縺弥㉸℥ഢ †††⤠潧潴㨠潥൦ഊ㨊楣捲敬砠礠爠††敳⁴愯∠彟牟㵲縥∳††††潦氯┠礥椠弥彟牲Ⱕⰱ弥彟牲⤥搠潦氯┠砥椠弥彟牲Ⱕⰱ弥彟牲⤥搠ന †††††ഠ †††††猠瑥⼠琢ⴽ彟牟∱匢⠽┥⁸┥⥸⬠⠠┥⁹┥⥹ⴠ⠠彟牟彟牟⥲ⴠ琠ⴠㄠഢ †††††椠匡‡敧ⁱ琡‡晩℠⅓氠煥ㄠ⠠†ഠ †††††††猠瑥⼠弢㵸┥⁸縥∱弢㵹┥⁹縥∲††††††††敳⁴愯∠硟㴲硟⬠ㄠഢ †††††††挠污敳⁴弢⅛祟崡┽弥⅛祟崡縺ⰰ弡ⅸ┥縥┴弥⅛祟崡縺弡㉸┡∥††††††
ഠ †††⤠††††潦┥湩⠠⁴⁓硟张⁹硟′彟牟⥲搠敳⁴┢愥∽潧潴㨠潥൦ഊ㨊潥* - gogglebot - Mar 27, 2017 Wow that's quite the effect, is it reversible? * - ɩᴄᴀʀᴜȿ ᴌוᴠᴇѕ™ - Mar 27, 2017 (Mar 27, 2017 06:01 PM)gogglebot Wrote: Wow that's quite the effect, is it reversible? I tried, but I didn't try hard :P * - b00st3d - Mar 27, 2017 I like it and have never heard of this either. Don't really have a need to encode anything that I can think of but I feel like this is about as close to closed source batch as you can get. I'm bookmarking this thread since I don't know how to save that character as plain text. SoftAP.bat: https://pastebin.com/raw/Knr5RBYV * - gogglebot - Mar 27, 2017 (Mar 27, 2017 06:43 PM)b00st3d Wrote: I like it and have never heard of this either. Don't really have a need to encode anything that I can think of but I feel like this is about as close to closed source batch as you can get. I'm bookmarking this thread since I don't know how to save that character as plain text. Indeed I'll be doing the same, I suppose you'd have to give a direct download to any file you want to release with this though? Or can you copy-paste that jumbled text into notepad, save it, and it still work? * - b00st3d - Mar 27, 2017 (Mar 27, 2017 07:18 PM)gogglebot Wrote: Indeed I'll be doing the same, I suppose you'd have to give a direct download to any file you want to release with this though? copy paste it to notepad and save as unicode * - The Phisherman - Mar 28, 2017 Thanks everyone, I thought it was useful, but then again, hex editors do see through it (Mar 27, 2017 01:36 PM)ɩᴄᴀʀᴜȿ ᴌוᴠᴇѕ™ Wrote: This is the code for Bouncing BallsWOW, icarus that is some high level shit, i have no idea how you did that, but it gave me epilepsy! didnt bother looking at the source the epilepsy killed me, lol, how did u do that, looks very HQ EDIT: just looked at sum of ur posts, woh could u show me how to do some of this stuff? mindblown! what even is multithreading? * - zask - Mar 28, 2017 Yeah it is a cool trick. Is there a way to view normally through its own code with findstr When the byte order mark is set? For example findstr searches for a specific phrase within its own code, normally the Byte order mark wound interfere with findstr but is there a way to get around that? * - dzirione1 - Mar 29, 2017 THANKS THANKS THANKSTHANKS * - The Phisherman - Mar 31, 2017 (Mar 29, 2017 09:31 PM)dzirione1 Wrote: THANKS THANKS THANKSTHANKSNo worries bro! 🤝 EDIT: look at this users negative rep, he doesn't mean thanks, he was just spamming to get his 25 post count, shame on you * - ɩᴄᴀʀᴜȿ ᴌוᴠᴇѕ™ - Mar 31, 2017 (Mar 28, 2017 03:54 AM)The Phisherman Wrote: Thanks everyone, I thought it was useful, but then again, hex editors do see through it I'm glad you thought so! I will be making more youtube video tutorials, and bouncing balls is oneof the videos I have planned. Just keep watching I guess :) oh, and also, questions are important. Ask away |