Now, more than ever, is the perfect time to demonstrate how a virus works...
It uses two modules
fs is responsible for reading and writing to files, while
glob is used to get all the files in the directory, which we will infect.
We will simply inject the virus code into non-infected files, and now when those files are run, their virus will activate and continue to the infestation.
Our infected files will simply print out "CORONA", but obviously in actual viruses there will be very malicious code.
Please DO NOT use this for pranks or any illegal purposes
Since this is written in NodeJS, it isn't practical at all to be an actual virus. For actual languages, most use compiled languages such as C or C++.
index.js contains the obfuscated virus code (not very well obfuscated though lol), you can navigate to the
README.md to see the unobfuscated code.
I’ve been gone for quite a while. I’m getting one day off a week now. My friend just got murdered Friday night. So yeah, I’m living the best life. I do code in my free time still, I use vim allot and Repl for testing purposes. I’d love to get back into C projects with you however :)
But yeah. I’m sorry for never being on. My life has, quite literally, gone to shit. I’m going to be creating a Python automation that goes through Snapchat data that I’m pulling from his account to see who was last on it. That’s the project I’m working on next. Not really a project, more like a “need-to-be-done” type of thing.
I have been working on this project called Vim Automation where it does a whole bunch of tasks and writes into the vim file dependable on what you tell the program. There are “command-line” arguments example: you can do
main.py -server HOST=127.0.01 PORT=18070 and it will create a socket server in Python without you touching a single line of code. It’s pretty cool.
But yeah. That’s my life so far lol. Thought I’d update you a bit :)
Ahh yes, assembly. The funnest language :D
section .text global _start %define sys_call int 0x80 _start: mov ecx, msg mov edx, len mov ebx, 1 ; stdout mov eax, 4 sys_call mov eax, 1 sys_call section .data msg db "Hey!" len equ $ - msg
I need to get back into all this low level stuff, lol. I used to be extremely good at it.
We should do a project.
And to answer your question:
(was the murderer ever found)
No, no they were not. There are many rumors going around, and a total of 3 different stories to follow up with. Some stories say his girlfriend drugged him. Others say he was slipped some pills and overdosed. Some say it was suicide, but no one believes that.
And, if you want more detail, whoever it was, put his body on the tracks and he got ran over by the train. There is this time period between 2am(which is when he is said to have left his gf home according to the gf), and 5am that we have no clue where or what he was doing.
It is all so very confusing lol.
We are decent friend. But it's still a friend to lose ya know?
I mean, you aren't just gonna be "oh well he's dead, next person" when there was just so much more waiting for the relationship.
But yeah. The now believable story is he was slipped some pills and overdosed while taking the railroad track back to town and dropped dead. But that still doesn't explain where exactly he was during the 4 and a half hours. People received messages from him at roughly 5am, yet the girlfriend said he left at 230am in the morning, WALKING home. And he lives like 15/25 miles from where his gf is living at. So yeah, no one really knows. Some even say he got a ride and overdosed and they dumped his body on the tracks, but if that was the case, why would it take him 4 and a half hours to walk 6, maybe 8, miles.
Ok! I am getting into some Java as well as some C++. I am going to get more into that project I was talking about awhile ago. The game engine project.
I NEED to get back into writing C. I am not rusty at it, I am pretty genuine at writing the language still. But I need to refresh my mind with the language and get back into writing it. It has been at least a month since I've touched a single line of the language..xD?
Tronsi. What are you using assembly for?
I am getting back into it, I was just curious as to what you use it for, specifically.
I am learning to get input and getting into the process of working with the stack. You can review this repo to see just exactly what I mean(there is some useless stuff in it, but just ignore that lol).
But yeah. I was just curious since you had stated you had gotten yourself a bit into assembly as to what it was that you were doing in assembly. We need to get back into creating low-level software stuff things lol.
section .text global _start %define sys_call int 0x80 %macro stdin 2 mov eax, 3 mov edx, %2+%2-1 ; this, for some reason, works perfectly when we are wanting to print the exact length of the string and not any binary characters. I have no clue why it works, but it does lol :D mov ecx, buffer mov ebx, 0 sys_call push ecx push ebp mov ebp, esp sys_call %endmacro% _start: stdin buffer, len mov ecx, buffer ; moving the inputted string into the ecx register mov eax, 4 ; stdout mov ebx, 1 ; printing sys_call ; finishing stdout system call mov eax, 1 mov ebx, 0 sys_call section .bss buffer resq 5 ; allocating 40 bytes for the inputted string len equ $ - buffer ; getting the length of the inputted string
^ This is pretty much the syntax I write. It seems as though we're writing the same thing. And if I do recall correctly, intel syntax is easier than at&t. I do recall being corrected on the syntax I write because if I do recall I said I was writing at&t syntax and I am indeed writing Intel syntax.
If I do recall correctly, I asked if you had deleted a26.
And to answer your question
how have you been?
I have been decently alright I guess you could say. I am currently working on an interpreted language called SM(Simple Makefile) which is aiming to making the usage of the Makefile easier, if not altering the usage of the Makefile as a whole.
I know, big dreams. But comparing the ideas I have for SM up to Makefile, I think anyone would chose SM over it. Here is an example!
# So, We are going to tell the interpreter to take all of this SM code # and convert it to a Makefile for us, and automatically run it RUN AS MAKEFILE FLAGS : -Wall -o main.o main.c C_FILES : GATHER ALL .c FILES EXCEPT main.c IF main.c EXISTS -> COMPILE C_FILES WITH FLAGS USING GCC RUN ./main.o # RUN is a keyword that tell the interpreter "Hey, we're about to run the program" ELSE -> echo "Error: main.c does not exist" exit 1
Yeah. That's the simple idea behind SM.
How have you been?
- I didn't delete the project, think I just privated it
- oh cool, I think Makefile is already very versatile and "simple" for what it does. Makefile essentially automates shell commands so if you want to simply makefile while keeping it intuitive you'd need to create a brand new shell as well lol. But yeah for example here:
COMPILE C_FILES WITH FLAGS USING GCCvery wordy and hard to read imo. But cool idea!
- been fine, I need to get back to C since I've been working on some other coding projects lately with you being super busy
hope you're feeling better
Well my thought process:
COMPILE is needed if you're wanting to compile a program.
The WITH keyword isn't required. That is just if you have a user-defined variable storing the flags, and in my case, I did.
And the USING keyword is required to tell the interpreter what compiler the user wants to compile his/her project with.
And notice at the top,
RUN AS MAKEFILE, that tells the interpreter not to run the file to compile, but to run the file and adjust it into a Makefile, then run the Makefile itself.
So thus, you have a simpler way of writing a Makefile without having to do hours of research because of how difficult it is.(I mean, it's not really that difficult, but for people that don't want the headache of getting the hang of a Makefile, SM would be perfect for them).
And we really need to get back to a26. I might need a few days to study the code. But I am now pretty advanced in assembly. I am now capable of gathering user input, opening files, reading files, storing file content, and raising errors(which is quite simple).
I have always been good at C. I mean, I've been writing it for well over a year now so. I do have my rusty spots with the language, but overall, as soon as I sit down at my desk and start writing some C code, I get the hang of it and I grasp all lost memory of it.
My newest coding challenge is to create a hash table in C. I watched a video over it where the guy just copied and pasted chunks and talked about it. This was a few days ago, of course, so I am going to attempt to do it myself. I think it should be quite simple if I have the common knowledge over a hash table.
But yeah. Life is stressful you know? But we should get back into a26. It would be such an amazing language to see.
And to answer your question
u get the notification or did u leave?
My teachers have this gay thing via google classroom where they can see your screen, block websites you're on, redirect you..pretty much control everything and I was in 2 classes where the teachers do that. And of course, they blocked repl.it because they know this is all I do..code.
I've wanted to attempt that. But I was afraid I'd start and instantly get bored or overwhelmed with it since there is more setup than there is actually enjoying the code it feels like lol.
Literally every project I've tried to do, I spent a week trying to figure out how the f*ck to set it up and I just ended up giving up because as soon as I'd make progress with the code, I'd either not have a tool and have problems installing it, or some random ass error would occur that I simply couldn't figure out. So I simply said "screw it" and started SM because making programming languages is what I do best.
But I am still attempting at the game engine. I am currently learning C++ because it would simply take too long to do in C, not only that, but I'd have the same issue of spending countless hours downloading random libraries and getting random ass errors 24/7 and giving up if I even dare to use C(since C doesn't really support anything to create a game engine, and you have to basically build everything from scratch).
So yeah, I am learning C++ so I can create the game engine :)
Lol well I don't know too much about C++. The learning process is slow, but ongoing.
I just watch youtube videos and I find random courses or documentation over the language online and read up on a few things. I learn best when I learn the things I currently need to know about the language. It pieces together the language more than learning it step by step.
Also, you can join if you want to lol. It really does not matter to me. I am going to attempt to do multiple project challenges in C, Golang and C++.
I am going to attempt to create this game engine in C++ first. If it goes well, I will then move onto creating the game engine in C(or Golang), most likely C tho.
But yeah. Hop aboard if you want :D
I can familiarize myself with git again. I haven't used it. I have just copied and pasted instead of merging lol.
I am a lazy bum.
Anywho. Yes, I can use VSCode, but my windows computer is geeked up so I have to like make sure I have all of the libraries requires setup up to the correct path and what not.
Yeah. 3:37 is the exact time. I don't get home till roughly 3:45 however.
Also. I no longer work at Sonic. I now work at subway in hopes I can work my way up to associative manager there.
But yeah. Around 3:40 I'd say. And I got a new curved screen monitor xDDD.
I have one 35" curved gaming monitor then I got another 35" curved monitor for coding. I have to get a PC for it still, so it is currently just hooked up to a built-in windows desktop via a HDMI cable lol
Also sorry for not being on much. I started working more and more, then holidays came along and I've literally have had no free time whatsoever. I would love to resume a26 asap, whenever you're available. I work tomorrow 11-4pm. I am off the first and today however!
Didn't get around to researching viri, but we should setup soon (before I get bored of the idea), but I need to know the following:
- who is going to create the Repl?
- Language? C, C++, or another language entirely?
- Who is going to post it when it's done? (you're getting banned by the mods, not me; jk jk)
[email protected] I just did a quick search and found that select is POSIX :/
I tried Google translating that, and it didn't give me anything helpful, what does that mean?
so threads :|
Where are you running this code? Repl uses Linux, thus implements POSIX. (XTerm is trash, and actually isn't POSIX compliant, but whatever)
also I have to reimplement everything since rn I'm storing clients and stuff in a typedef struct
Why aren't you using a library?
If you came here and said, "hey, I want to make an HTTP(S) server library," then I would've backed off and said, "that's on you, good luck," but, you came here wanting to make a proxy, so by making a server, you're not focusing on what you actually want to get done.
Also, getting anything to work on Repl is a struggle.
Okay, lot to read so:
- Beedrill is garbage
- Bide is for tanks, correct
- Mega Punch is pretty good I gave it to Pikachu in Yellow ƪ(˘⌣˘)ʃ
- Water Gun is weak but you should have used it in Mount Moon to get rid of rock types xD
- Ether is used to get PP (the amount of times you can use a move) back
- Moon Stone can level up Clefairy, Jigglypuff, Nidorino, Nidorina, and like 1 more Pokemon.
- HP increases the Pokemon base HP stat (so basically increases total HP)
- Rare Candy is an levelup
- Good Job!
My pikachu learned thunder wave, I'm not sure if that's a good moveset or if mega punch is better.
Also Geodude vs Jigglypuff vs Nidroran Male vs Ratatta
which should I have on my main team as of rn?
atm I'm farming my magikarp, but I have a
- lv 9 pikachu (pikachu is so hard to level up and thundershock is bad against 80% of pokemon, but I'm in water now so it should be easier to grind)
- lv 17 wartortle
- lv 23 pidgeotto (this crappy bird is so easy to level up wtf and it's also extremely OP and I'm getting asbolutely carried by it)
Like the pidgeotto sweeped the entire pewter city and mt moon and solo sweeped about 5 of the team rocket guys in a row, although it has
whirlwind as a moveset and I've never found that useful.
also I bought the magikarp from the old shady dude not sure if that was the right decision lol
I got seismic toss, should I teach that to my Mankey?
Also gyrados takes so long to level up, but does it get more stats per level? LIke I remember it being 60 attack at level 20 and it went to 64.
Also should I teach gyrados thunderbolt? Gyrados still has splash so I have room
That’s also all I remember after that I forget a bit of the game but I think there’s like a Digletts tunnel you have to go through ƪ(˘⌣˘)ʃ
also pidgey vs spearow your opinion? I like pidgey better since more balanced stats but wbu
also what is the itemfinder? oak's aide says he'll give an itemfinder if I catch 30 differnet pokemon
I found out how to get to cerulean though (thru a wikihow article -_-), and apparently you can buy TMs and evo stones in the cerulean department store like wott. Apparently getting there, you have to pass by like 15 trainers with no poke centers anywhere near so I have to either waste money on potions or farm for 5 years
- celadon is so big wtf
- should I evolve my eevee to volteon, vaporeon, or flareon?
Atm my main team is
- lv 39 pidgeot
- lv 24 Wartortle
- lv 26 Gyarados
Originally i also had a
- lv 24 geodude
- lv 28 Kadabra
but idk what to do with them. Geodude has rock throw which is horrible and misses 90% of the time, but it's so hella good against electric type. I have seismic toss and mega punch which I could teach it or smth. Kadabra can't evolve into Alakazam unless traded, and idk how to do that so I'm out of luck, although Kadabra has OP psybeam which does so much damage.
I also have to constantly carry around a level 10 beedrill for cut and it's annoying since I technically only have 5 slots for pokemon.