 Okay, so yesterday I posted two scripts I was just kind of bored and I created these two scripts that Basically have video games embedded in them and then I gave it one line of download that script and run it And I got a number of comments on it in the next video I'll talk a bit more about how these scripts work and maybe give some demonstrations But just realize that this was just you know me being bored and having fun and I knew that I could Embed zip files or other binary files into a shell script. I showed that years ago self-extracting self-shell scripts But I wanted to see if I create a script that Was was able to be posted on something like paceman that was kind of my goal something It was all plain text so using base 64 rather than embedding the binary file And I wasn't sure of the file size limit on paceman. I'm trying to look it up I just wanted to see if I can bed some of these old games Into a shell script and post the entire thing on Paceman so just realize that this was just for fun as I go through these comments and So let's get started with comments. Like I said in next video. I'll talk a little bit more about How these scripts work? So first comment, man, you're a genius. Thank you Next comment There we go Can't find the key bindings for a and b buttons That would be on my system. The default was a and z for medifin, which is the game emulator that I was using So a and z or sorry a and s z and x were the turbo buttons for a and b Why would this get pulled because in the description of the video I mentioned, you know Let's see how long this lasts the answer is because it's a copyright game embedded in a script by a company called Nintendo Who was very aggressive about their copyright? Powers, okay Pretty cool. Thank you Okay, works have to install DOS to unix though for ubin 2 Gives the command for installing that then run the line in the video description. Yeah, I don't know why I used Well, I kind of know why I use DOS to unix because that's the most It's the best way to make sure that things get converted properly Basically, and I did a video on this not too long ago with pace been when you download the raw file It's actually using I'm called a Microsoft new line characters or carriage returns Rather than then unix so it confuses the shell when you try to run them So you have to convert those it's kind of a not knowing not all service like if I put the script up on github It would automatically have the correct thing. So I wouldn't even need that unit So again, the whole pump is putting this on paceman. I knew I could put Files on github and and I could embed the binary files But the point was to see if one of these text services Would be able to handle this so I just use paceman because that's one of the most common use Also, I didn't want to put stuff on my github because again, I don't want any hits or wherever they do on github That's why when I posted in the paceman, I didn't post in my account I posted under, you know a guest account because I don't want to strike to my account to get pulled So I used Dostunix. You could also use said or even TR All of them are very common commands said and TR are going to be on pretty much every system Dostunix may not but all those commands are in busybox Which is simple enough to install on any system and it comes pre-installed on most devices routers phones Although it might be stripped down that's what might not be in there But yeah, I could have used something better than Dostunix But I have had other cases where I need to do something with new line characters and I've seen said commands And they work in some instances and not others. So I just again, this was just for fun Is this safe to run or is it safe to run a command this way my response? That was that's your call your computer someone else said no, which is pretty much my response If I saw something like this, would I just run that one liner? No, I don't trust anybody I would go to Lincoln look at the script and maybe download the script But would I just run that command? No, but a lot people would that's the thing It's your computer you decide what is safe for your computer as long as it's your computer and not somebody else's Here I am waiting for my automated sent OS install and now I get to wait playing some Mario So I don't know what system he's running on this script if I didn't say it earlier I did design for Debbie and for the most part it should work on any system But there it checks for Metafin the emulator to be installed as a certain path if it's not there then it tries to use apt to install it So if you're using a system that doesn't have apt thing I use apt not apt get apt get would have been made get a little more backwards compatible But apt to install it. So if you're running sent OS, it won't work Plus, I quickly looked online sent OS or sent os and I say it sent os I don't think has metafin or was it FCUX which is another Nintendo emulator in their repositories. I've never really used Fedora or sent os or sent OS I think I booted a live CD of both of them my first year using Linux 13 years ago So I obviously if he's playing Mario right now, he's not on sent but he's saying he's installing sent Once you have a result, I'm assuming that's just cuz Fedora and sent OS and red hat are all based for business stuff So they're not gonna have emulators in there So, yeah Is it safe to assume this the same person is earlier by the way Is it safe to assume the content of a pay spin will never be modified my response that is it safe to assume anything online? Will never be modified. I mean is it safe to assume that when you pull a package down from your package manager? Repositories that it hasn't changed or if you pull something from github. It hasn't changed So yeah, that's my answer to that is again This is your call on what you do with your system Here's someone with said man, which I did not try but I like his idea He says then save this is DOS to units that sh. I wouldn't even do that I would just I would probably just include the I mean his command. I haven't tried that command again I've seen lots of different said commands for fixing new line characters But should be able to just put that command in the one liner and get rid of the DOS box They not put his one liner inside of DOS to Unix But I like that again Then he says by the way a is left and s is right on his emulator when he installs it which is strange because that is it Should be metaphan which should be the fault, but I think I believe I told him I think it's all shift one for player one all shift two for player two Once you start the game and that will pop up at the bottom of the screen You'll see a configuration where you can configure your controls for each player last you'd hit each key twice for each button on the keypad and I have found that almost every game emulator for different systems They have crazy crazy default control settings So I always reconfigure them, but that's how you do that You can also go into a config file and change it But metaphan is very particular about white spaces at the end of lines So if you're gonna edit the config file keep that in mind You'll put a command in there It'll give you an error on that line finally rise because there's a space at the end of line that messes things up But again, I'm pretty sure it was it was all shift f1 for player one all shift to player two and then you just read You know we'll say What's a and you hit that button twice? What's be hit that button twice turbo a turbo B start select up down left right? It's a Nintendo system. So there's not that many buttons to configure and then again This guy again. Is it safe to assume the content of a tiny role will never be modified? Okay Let me let me let me address this. I try to avoid Talking about security too much one because I think most things people do computer security are complete. Yes, and a lot of things People do I would never do No, it is not safe to assume that the tiny role will never be modified But again, it's not safe to assume anything online will never be modified So that's that's that your computer you decide what to do You know if and my answer is when it comes to software It's like driving a car. You're driving a car and you've got to pull out into traffic Do you go when you think it's safe or when you know it's safe? You only pull out when you know it's safe a hundred percent same with your computer What you think you know you do You're asking me three times now if you think this is safe The answer is no if you're unsure at all that you have to ask the answer is no Here's a question forget about the tiny URL forget about the paceman. Do you trust me? Do you trust me? Do you know me? Why would you trust me? Maybe you do maybe you don't Why would you trust some stranger online? I do not know so forget about the URL forget back up use a paceman Do you trust my script? You shouldn't go look at the script besides the big section in the middle Which is base 64? There's probably less than 10 lines of code in the script look it over It's right there in the one-liners the URL go look at it. Don't run the one-liner download it look at the code and see what it does So when it comes to to safe software, I always say there's three things you want to do Are you getting it from a safe place? Are you getting it from someone you trust and you're getting in a safe manner now? Are you getting from a safe place paceman? Probably not the safest could be worse though Are you getting it from someone trust you trust me and you trust paceman and are you getting a safe manner? Well, I think even the tiny URL is using HTTPS, but then it's forwarding something else So so the answer to this in my rule of three. No, it doesn't pass that I would not run this one-liner From somebody else and I tested on my system That's only right after I posted it a year from now Would I would I trust this one-liner only if I checked that it was directing to the right place? And my script was still the same Again going back to the point of this project. It wasn't even so much the one-liner It was can I embed a binary file Inside a shell script because the ROM is embedded in the shell script in a manner that can be posted on a place like Paceman that was my point of doing this project. So again, I could have just put the binary file at the bottom of The shell script and then extracted it from there Just like you would a self-extracting shell script, which I've done videos on the past But I want something that was all plain text So I went with the base 64 which actually will make the file bigger space 64 It's gonna be a little bit larger than the binary alternative at least in my experience But now it's all plain text and It can be posted in Paceman again I don't know Paceman's limits, but it was enough to fit Mario Brothers, which is probably I don't I don't remember the file size I would guess like 56 kilobytes or something like that. It's just a random number came in mind, but yeah Um No, if you don't trust it my rule with software Do you trust the person who made it and gave it to you to if you were had that person here Would you let them sit down at your computer and do stuff without you looking that's pretty strict But you should be that strict with your software that that's ideal scenario So, you know and as far as things changing, it's like as far as security and what people do a lot of people add PPAs to their repositories. I would not do that Even if I trust the PPAs and you're more likely to break something because it's not all maintained by the same Project you're adding a PPA. It may not be compatible with some stuff that you're pulling from other repositories Or they might drop support for it PPAs. No, I would not do that Lot of people would pull stuff directly from github. I do that occasionally, but for the most part It's like now. I've got to make sure that I'm trusting spell. See when I when I pull some most of what I install my system I install from the Debian repositories Do I know the Debian developers know but I as best as I can out of everybody I trust the Debian Developers and their package maintainers to do things to search here as possible. Nothing's perfect But anytime I start going outside that even if I have other trusted sources the more you add the more problems You might have as far as compatibility or availability or trust worthy So you really should limit where you get your your packages from and that's one of the reasons I picked Debian over other systems There are a lot of other systems out there that are good systems but they don't have the Packages that Debian has and they don't necessarily divide it up into free non-free software repositories, which is nice as well Again, I'm gonna say this it's gonna upset a lot of people and there's no against this again This is what you want to do. Do you trust? Just anybody arch seems like a great system I have nothing against arch besides the fact that their repositories aren't as full as the Debian repositories And that's usually when they chime in say, oh, we have the a you are the I don't even know what that stands for But the trusted User resources, I don't even know it's something like that. I Do not trust that at all if the software is not to get into the official repositories It should be considered stable, which means a lot of different things just because of someone who develops a piece of software says My software stable doesn't mean it's stable with the system or the packages They're also on that system but I think it'd be tested before it considered stable So it has to be considered stable. I have to you know, it has to be from a trustworthy developer so If it's not getting doesn't meet those two if it meets those two requirements There was a third requirement I had to but if it meets those requirements, it should be put into the official repositories If it's not I'm asking why is it not in the official repositories? If you trust the software and you trust the person who's making the packages, why is it not going in there? So that tells me that the arch repositories aren't trusting these packages in my opinion Again, I'm not criticizing arch arch seems like amazing system They have great documentation that I use even on my devian system when I try to look up how to do something But I don't trust the you know at that point I might as well just go out and be pulling stuff from GitHub and all these different places and a lot of people right now are Going there's nothing wrong with doing that and that's fine. That's fine. So Yes, you Yeah, yes, who tea? Yes, who tea? Sorry for butchering your name. You've asked me three times over multiple hours Whether I think this is safe That's up to you and if you're unsure then no, it's not that is the answer if you are unsure about something Even if it is safe if you're unsure about something. It's not safe for you. Do not do it That is my advice to everybody if you're not sure about pulling out in traffic. You shouldn't If you're not sure about a piece of software or where it comes from or how are you getting it? Don't use it Don't trust antivirus. I don't trust antivirus is a scam The only reason you would use antivirus is because you don't trust the software you're downloading and installing if you don't trust it Scanning it's not going to do anything Okay So again a little bit of security talk there. Those are my thoughts my opinions. You might be different on your system Yeah, and you know what if you're really not sure a lot of times same with driving You shouldn't pull out until you're sure but then sometimes you're behind somebody and there is nobody coming Nobody coming as far as I can see maybe a quarter mile down the road And these people still aren't pulling out making their right hand turn on red. It's like, okay Now you shouldn't be driving Because you're too afraid you you're so afraid you don't know when to pull out Same with software if you are so afraid of Installing software if you're not sure you should install but if you're afraid to install anything Which a lot of people are you need to find someone else to manage your systems for you. Anyway That's it again next we'll talk a little bit more about how this these scripts works. I did the Mario one I also did Pac-Man one So check it out. Thanks for watching as always. I hope you have a great day