Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Shell 

Batch BYTE order mark

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
ÿþ
cls
save it as normal, if prompted, save in the unicode format
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
(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

simply put this at the start of your code

Code
ÿþ
cls
save it as normal, if prompted, save in the unicode format
please don't run around telling everyone this as I, ahem use it

Thanks, any feedback, comment below

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.
Thanks for sharing, but as @zask pointed out this is pretty known already, nevertheless thanks for contributing!
I'd never personally heard of this or seen it mentioned before for some reason, interesting share!
Keep me fed and alive at Uni: Bitcoin Bitcoin: 16cwoYXfhaK6V5c8kJKn9SBMtDUARUs7BS
I'll draw terrible art in paint.NET for you, on request, in return <3
This is the code for Bouncing Balls

Encoding: USC-2 LE BOM

save as .bat

Code
਍汣൳䀊捥潨漠晦☠猠瑥潬慣湥扡敬敄慬敹䕤灸湡楳湯਍਍††敳⁴愯∠楷瑤㵨〵ⴠㄠⰢ∠敨杩瑨㐽‰‭∱‬挢湯楗瑤㵨楷瑤⁨‫∵‬挢湯效杩瑨栽楥桧⁴‫∶‬弢〽ഢ †映牯⼠┥⁡湩⠠㈭ㄬ┬楷瑤╨
潤猠瑥∠畯整䉲晵敦㵲漡瑵牥畂晦牥⌡ഢ †映牯⼠┥⁡湩⠠ⰰⰱ眥摩桴⤥†潤猠瑥∠楷瑤䉨晵敦㵲眡摩桴畂晦牥‡ഢ †映牯⼠┥⁡湩⠠ⰰⰱ栥楥桧╴
潤猠瑥∠孟┥嵡┽楷瑤䉨晵敦╲ഢ †椠⁦硥獩⁴┢整灭尥畣獲牯潰⹳硥≥⠠猠瑥∠汣㵳┢整灭尥畣獲牯潰⹳硥≥〠ㄠ•
汥敳⠠猠瑥∠汣㵳汣≳⤠਍††潭敤挠湯›潣獬┽潣坮摩桴‥楬敮㵳挥湯效杩瑨ഥഊ †猠瑥∠慢汬㵳∶਍਍††潦⁲氯┠戥椠ㄨㄬ┬慢汬╳
潤⠠਍††††敳⁴愯∠孲┥嵢㌽ഢ †††猠瑥⼠⁡砢╛戥㵝爡湡潤Ⅽ┠‥楷瑤⁨‫孲┥嵢ഢ †††猠瑥⼠⁡礢╛戥㵝爡湡潤Ⅽ┠‥敨杩瑨⬠爠╛戥≝਍††††敳⁴愯∠孩┥嵢ℽ慲摮浯‡┥㌠⬠ㄠഢ †††猠瑥⼠⁡樢╛戥㵝爡湡潤Ⅽ┠‥′‫∱਍††††敳⁴愯∠季┥嵢┽戥ഢ †††猠瑥⼠⁡戢慭坸╛戥㵝楷瑤⁨‭孲┥嵢ഢ †††猠瑥⼠⁡戢慭䡸╛戥㵝敨杩瑨ⴠ爠╛戥≝਍††††敳⁴愯∠浢湩╛戥㵝孲┥嵢ഢ †⤠਍਍敲湩彦潬灯਍潦⁲氯┠⌥椠⤨搠
潦⁲氯┠戥椠ㄨㄬ┬慢汬╳
潤⠠਍††††敳⁴愯∠學┥嵢㴫孩┥嵢ഢ †††猠瑥⼠⁡礢╛戥⭝樽╛戥≝਍††††਍††††晩℠學┥嵢‡敧ⁱ戡慭坸╛戥⅝猠瑥⼠⁡砢╛戥㵝浢硡字┥嵢Ⱒ∠孩┥嵢㴪ㄭഢ †††椠⁦礡╛戥⅝朠煥℠浢硡孈┥嵢‡敳⁴愯∠孹┥嵢戽慭䡸╛戥≝‬樢╛戥⩝ⴽ∱਍††††晩℠學┥嵢‡敬ⁱ戡業孮┥嵢‡猠瑥⼠⁡砢╛戥㵝浢湩╛戥≝‬∠孩┥嵢㴪ㄭഢ †††椠⁦礡╛戥⅝氠煥℠浢湩╛戥⅝†敳⁴愯∠孹┥嵢戽業孮┥嵢Ⱒ†樢╛戥⩝ⴽ∱਍††††਍††††慣汬㨠汰瑯℠學┥嵢‡礡╛戥⅝℠季┥嵢ഡ †††挠污挺物汣⁥砡╛戥⅝℠孹┥嵢‡爡╛戥⅝⸠਍††ഩ †┠汣╳਍††††捥潨‽漥瑵牥畂晦牥ഥ †††映牯⼠┥⁡湩⠠ⰰⰱ栥楥桧╴
潤攠档㵯⌠弡╛愥⅝ണ †††攠档㵯┠畯整䉲晵敦╲਍††潦⁲氯┠愥椠〨ㄬ┬敨杩瑨⤥搠敳⁴弢╛愥㵝眥摩桴畂晦牥∥਍ഩഊ㨊汰瑯砠礠਍††敳汴捯污਍††††敳⁴挢┽㍾ഢ †††猠瑥⼠⁡弢㵹縥∲‬弢㵸縥∱‬弢㉸┽ㅾ⬠ㄠഢ †††⠠湥汤捯污਍††††††敳⁴弢╛祟崥ℽ孟弥╹㩝ま┬硟℥挥縺ⰰ┱弡╛祟崥縺弥㉸℥ഢ †††⤠਍潧潴㨠潥൦ഊ㨊楣捲敬砠礠爠਍††敳⁴愯∠彟牟㵲縥∳਍††††潦⁲氯┠礥椠⴨弥彟牲Ⱕⰱ弥彟牲⤥搠潦⁲氯┠砥椠⴨弥彟牲Ⱕⰱ弥彟牲⤥搠ന †††††ഠ †††††猠瑥⼠⁡琢ⴽ彟牟⁲‭∱‬匢⠽┥⁸‪┥⥸⬠⠠┥⁹‪┥⥹ⴠ⠠彟牟⁲‪彟牟⥲ⴠ琠ⴠㄠഢ †††††椠⁦匡‡敧ⁱ琡‡晩℠⅓氠煥ㄠ⠠†ഠ †††††††猠瑥⼠⁡弢㵸┥⁸‫縥∱‬弢㵹┥⁹‫縥∲਍††††††††敳⁴愯∠硟㴲硟⬠ㄠഢ †††††††挠污敳⁴弢⅛祟崡┽弥⅛祟崡縺ⰰ弡ⅸ┥縥┴弥⅛祟崡縺弡㉸┡∥਍††††††
ഠ †††⤠਍††††潦⁲┥⁡湩⠠⁴⁓硟张⁹硟′彟牟⥲搠敳⁴┢愥∽਍潧潴㨠潥൦ഊ㨊潥
Wow that's quite the effect, is it reversible?
Keep me fed and alive at Uni: Bitcoin Bitcoin: 16cwoYXfhaK6V5c8kJKn9SBMtDUARUs7BS
I'll draw terrible art in paint.NET for you, on request, in return <3
(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
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
There's no place like ~/
(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.

SoftAP.bat
Code
-snip

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?
Keep me fed and alive at Uni: Bitcoin Bitcoin: 16cwoYXfhaK6V5c8kJKn9SBMtDUARUs7BS
I'll draw terrible art in paint.NET for you, on request, in return <3
(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?
Or can you copy-paste that jumbled text into notepad, save it, and it still work?

copy paste it to notepad and save as unicode
There's no place like ~/
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 Balls

Encoding: USC-2 LE BOM

save as .bat

Code
਍汣൳䀊捥潨漠晦☠猠瑥潬慣湥扡敬敄慬敹䕤灸湡楳湯਍਍††敳⁴愯∠楷瑤㵨〵ⴠㄠⰢ∠敨杩瑨㐽‰‭∱‬挢湯楗瑤㵨楷瑤⁨‫∵‬挢湯效杩瑨栽楥桧⁴‫∶‬弢〽ഢ †映牯⼠┥⁡湩⠠㈭ㄬ┬楷瑤╨
潤猠瑥∠畯整䉲晵敦㵲漡瑵牥畂晦牥⌡ഢ †映牯⼠┥⁡湩⠠ⰰⰱ眥摩桴⤥†潤猠瑥∠楷瑤䉨晵敦㵲眡摩桴畂晦牥‡ഢ †映牯⼠┥⁡湩⠠ⰰⰱ栥楥桧╴
潤猠瑥∠孟┥嵡┽楷瑤䉨晵敦╲ഢ †椠⁦硥獩⁴┢整灭尥畣獲牯潰⹳硥≥⠠猠瑥∠汣㵳┢整灭尥畣獲牯潰⹳硥≥〠ㄠ•
汥敳⠠猠瑥∠汣㵳汣≳⤠਍††潭敤挠湯›潣獬┽潣坮摩桴‥楬敮㵳挥湯效杩瑨ഥഊ †猠瑥∠慢汬㵳∶਍਍††潦⁲氯┠戥椠ㄨㄬ┬慢汬╳
潤⠠਍††††敳⁴愯∠孲┥嵢㌽ഢ †††猠瑥⼠⁡砢╛戥㵝爡湡潤Ⅽ┠‥楷瑤⁨‫孲┥嵢ഢ †††猠瑥⼠⁡礢╛戥㵝爡湡潤Ⅽ┠‥敨杩瑨⬠爠╛戥≝਍††††敳⁴愯∠孩┥嵢ℽ慲摮浯‡┥㌠⬠ㄠഢ †††猠瑥⼠⁡樢╛戥㵝爡湡潤Ⅽ┠‥′‫∱਍††††敳⁴愯∠季┥嵢┽戥ഢ †††猠瑥⼠⁡戢慭坸╛戥㵝楷瑤⁨‭孲┥嵢ഢ †††猠瑥⼠⁡戢慭䡸╛戥㵝敨杩瑨ⴠ爠╛戥≝਍††††敳⁴愯∠浢湩╛戥㵝孲┥嵢ഢ †⤠਍਍敲湩彦潬灯਍潦⁲氯┠⌥椠⤨搠
潦⁲氯┠戥椠ㄨㄬ┬慢汬╳
潤⠠਍††††敳⁴愯∠學┥嵢㴫孩┥嵢ഢ †††猠瑥⼠⁡礢╛戥⭝樽╛戥≝਍††††਍††††晩℠學┥嵢‡敧ⁱ戡慭坸╛戥⅝猠瑥⼠⁡砢╛戥㵝浢硡字┥嵢Ⱒ∠孩┥嵢㴪ㄭഢ †††椠⁦礡╛戥⅝朠煥℠浢硡孈┥嵢‡敳⁴愯∠孹┥嵢戽慭䡸╛戥≝‬樢╛戥⩝ⴽ∱਍††††晩℠學┥嵢‡敬ⁱ戡業孮┥嵢‡猠瑥⼠⁡砢╛戥㵝浢湩╛戥≝‬∠孩┥嵢㴪ㄭഢ †††椠⁦礡╛戥⅝氠煥℠浢湩╛戥⅝†敳⁴愯∠孹┥嵢戽業孮┥嵢Ⱒ†樢╛戥⩝ⴽ∱਍††††਍††††慣汬㨠汰瑯℠學┥嵢‡礡╛戥⅝℠季┥嵢ഡ †††挠污挺物汣⁥砡╛戥⅝℠孹┥嵢‡爡╛戥⅝⸠਍††ഩ †┠汣╳਍††††捥潨‽漥瑵牥畂晦牥ഥ †††映牯⼠┥⁡湩⠠ⰰⰱ栥楥桧╴
潤攠档㵯⌠弡╛愥⅝ണ †††攠档㵯┠畯整䉲晵敦╲਍††潦⁲氯┠愥椠〨ㄬ┬敨杩瑨⤥搠敳⁴弢╛愥㵝眥摩桴畂晦牥∥਍ഩഊ㨊汰瑯砠礠਍††敳汴捯污਍††††敳⁴挢┽㍾ഢ †††猠瑥⼠⁡弢㵹縥∲‬弢㵸縥∱‬弢㉸┽ㅾ⬠ㄠഢ †††⠠湥汤捯污਍††††††敳⁴弢╛祟崥ℽ孟弥╹㩝ま┬硟℥挥縺ⰰ┱弡╛祟崥縺弥㉸℥ഢ †††⤠਍潧潴㨠潥൦ഊ㨊楣捲敬砠礠爠਍††敳⁴愯∠彟牟㵲縥∳਍††††潦⁲氯┠礥椠⴨弥彟牲Ⱕⰱ弥彟牲⤥搠潦⁲氯┠砥椠⴨弥彟牲Ⱕⰱ弥彟牲⤥搠ന †††††ഠ †††††猠瑥⼠⁡琢ⴽ彟牟⁲‭∱‬匢⠽┥⁸‪┥⥸⬠⠠┥⁹‪┥⥹ⴠ⠠彟牟⁲‪彟牟⥲ⴠ琠ⴠㄠഢ †††††椠⁦匡‡敧ⁱ琡‡晩℠⅓氠煥ㄠ⠠†ഠ †††††††猠瑥⼠⁡弢㵸┥⁸‫縥∱‬弢㵹┥⁹‫縥∲਍††††††††敳⁴愯∠硟㴲硟⬠ㄠഢ †††††††挠污敳⁴弢⅛祟崡┽弥⅛祟崡縺ⰰ弡ⅸ┥縥┴弥⅛祟崡縺弡㉸┡∥਍††††††
ഠ †††⤠਍††††潦⁲┥⁡湩⠠⁴⁓硟张⁹硟′彟牟⥲搠敳⁴┢愥∽਍潧潴㨠潥൦ഊ㨊潥
WOW, 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?
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?
THANKS THANKS THANKSTHANKS
(Mar 29, 2017 09:31 PM)dzirione1 Wrote:  THANKS THANKS THANKSTHANKS
No 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 28, 2017 03:54 AM)The Phisherman Wrote:  Thanks everyone, I thought it was useful, but then again, hex editors do see through it


WOW, 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?

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


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Shell] by Robert RougeSep 24, 2026 10:02 AM 4 223 Sep 24, 2026 10:02 AM
Last Post: Anonynuk
[C#] by Julius013Mar 2, 2022 05:12 PM 4 314 Mar 2, 2022 05:12 PM
Last Post: Julius013
[Shell] by fisica638Oct 30, 2019 11:05 AM 1 536 Oct 30, 2019 11:05 AM
Last Post: Hackoo