| 1. |
Solve : Getting "!" and other difficult characters to encrypt.? |
|
Answer» I've managed to get most the special characters but Possible work arounds?Actually learn what you are doing instead of copy-pasting from incompetent youtubers?Code is very much changed from original source and this was for personal use, also I asked him if it was ok. I know what everything in the source does line for line so what do you mean actually learn what your doing?The source is clearly not just copied and paste, it clearly has been greatly modified for more useful purposes, the algorithm isn't even entirely the sameYou don't have to criticize I have zero intention of stealing credit from other youtubers. Like it seriously offends me how you make such a claim. I've been breaking this script down and modifying it and you just act like all I did is copy, paste, added some REM statements and happy faces and boom a brand new script. Like you could at least have looked at the differences in the scripts. I'll go somewhere else for help jesh.I get your like an expert and all but I have been trying to learn, and your completlying dising on me and I've done nothing wrong. There is a difference from borrowing a script, modifying it, etc, from just taking the script and copy and pasting, I even told you who the original algorithm came from so like Im not plagiarizing or anything. All I did is paraphrased his source and made it much more advanced than the original.If the source is nearly 70% changed then I have been learning from what i code.if you knew what you were doing you would not be having issues determining why certain characters were causing problems . I wasn't even intending to accuse you of stealing. They provide it for free, after all. Regardless of how much it may have been altered though, it started with a rotten base- The 'incompetent youtuber" part is probably the major takeaway there. I doubt they even wrote the batch file to start with anyway. There are innumerable youtube channels started by upstart teenagers who's parents and family have told them all their life they will be the next "Bill Gates" because they can log in to face book or use the Command Prompt. Some of them take it to heart and start pretty much writing their memoirs before they are out of high school, like that guy. I mean, at least I had the good sense to wait until I was 21 to be a smartass know-it-all. In any case * and ! are not inherently different than any other character when it comes to these kind of transformation algorithms, so I'd guess that it is related to ! and * having special meaning within the Command Prompt itself, possibly caused entirely by the many layers of unnecessary indirection that are present here, where it constructs accessory batch files and scripts via echo commands. You might start by changing it to not delete these accessory files and examining the batch and VBScript files it creates as they may be where the issue lies, likely in the form of unescaped characters. I wasn't saying you was accusing me of stealing I was just pointing out that I wasn't. I understand but what you mean, with the whole youtube and where it came from, I do agree, but i have no where to learn from. I do understand what this script does, i learned it line for line. what I don't understand is the whole trying to escape "!" I have tried adding "^^!", I know how to escape it, just not in this situation. I only have general knowledge of the language, And I know like a fair amount of cmd now, but don't understand everything in entirety, i can read some code and understand it well and other scripts I just can't figure out what I'm looking at. Like honestly I put a decient amount of work in the above script, almost more than the original script even had. But I don't know everything, I'm not a mastermind coder. I only applied what I knew I could do to the script, that's why I was asking questions here. Because I'm trying to learn and it's difficult when there is so little information anywhere on the Internet about command line, YouTube is filled with horrible noob tutorials, every website that helps individuals require at least that person to create his source before they can actually help that person. It's not necessary a big issue, but when i first started out trying to learn, it made it almost impossible to learn anything because I wasnt allowed to learn from others code or have had the knowledge to create my own. Im a person who learns from books, and there is very few books on commamd line that I've found. You say I should learn but I really have been teaching myself a lot more than my old lazy bad habit days, I've been on dos tips breaking down scripts trying to understand them and such. I just do this because I'm really interested in it, but even with all the tutorials, breaking down code, and etc, I'm still not learning how to stretch it into something that I can create by scratch.And I'm not even trying to be a smartass, I'm just trying to learn, honestly, and I was only going to use the script personally. I don't think for a split second that I'm possibly even as remotely close to being as good as you guys or even the guys at dos tips. But where do I go when there isn't anything good anywhere, all tutorials just show the basics and never get into deep details. Again, you were not the smartass to which I referred, but rather the youtuber. They are unreliable as a resource, as they barely understand the material themselves. This tends to be the case for the majority of youtube channels who create tutorials like this, unfortunately. As I mentioned, The script creates additional scripts as part of it's operation. I would suspect the issue lies there, If you REMOVE the segments of code responsible for deleting those helper files, and then you can examine the contents of the files generated and make sure there are no characters that aren't escaped when they should be, or otherwise test/validate those segments of the entire operation. |
|