arg: cmp al, ' ' Space? je doarg Then get next character cmp al, '/' Option? je opt dec byte Otherwise, it's an argument jnz rdnum Read a number if we still need one jmp usage Otherwise, incorrect arguments rdnum: xor bp, bp Place to keep number. arg If not, there are arguments left jmp check If so, we're done. text org 100 h mov ah, gettim Seed the RNG using the system time int 21 h (in case of no argument) mov, cx mov, dx mov si, arg See if we have any arguments lodsb test al, al jnz hasarg jmp usage If not, print usage string Parse the command line arguments hasarg: xor bx, bx We do, zero-terminate the string xchg al, bl mov, al mov di, count Place to start reading arguments doarg: lodsb Get argument byte. #ASCII PASSWORD CREATOR CODE#The X register is loaded with the password's length (in this case, 20 characters, not counting the null terminator.)Ĭpu 8086 bits 16 MS-DOS syscalls gettim: equ 2 Ch Get system time write: equ 40 h Write to file exit: equ 4 Ch Exit with return code MS-DOS process data arg: equ 80 h Command line argument (length + string) ěIOS calls conout: equ 0 Eh Write character to console vstate: equ 0 Fh Get current video state section. The screen can only display colored pixels, and the top 4 bytes are masked off, so this is just a visual aid to show the process in action. Unfortunately, easy6502 cannot display text, but it does have a random number generator, so this example merely contains the logic for generating the password itself. capital eye, lowercase ell, the digit one.You may also allow the user to specify a seed value, and give the option of excluding visually similar characters.įor example: Il1 O0 5S 2Z where the characters are: The program should implement a help option or button which should describe the program and options when invoked. The randomness should be from a system source or library. The passwords should be displayed or written to a file, one per line. The user must be able to specify the password length and the number of passwords to generate. The generated password(s) must include at least one (of each of the four groups): Other printable characters: above character list excludes white-space, backslash and grave) Michael co-owns internet agency Restruct Web, where he develops websites & apps (web & iPhone/Android).You are encouraged to solve this task according to the task description, using any language you may know.Ĭreate a password generation program which will generate passwords containing random ASCII characters from the following groups: Manytools is a project by Michael van Schaik, a webdeveloper from Rotterdam (NL). Manytools is a collection of tools to automate the repetitive jobs involved in webdevelopment (or any other job). (Starting October 2017, Chrome (version 62) will show a “NOT SECURE” warning when users enter text in a form on an HTTP page, and for all HTTP pages in Incognito mode.) Today we finally got around to upgrading the site to run on HTTPS. Happy to inform that Manytools is now fully Chrome-62-ready, thanks Google! A secure connection had been due for a very long time. Our apologies for the inconvenience it has caused. This seemed like a nice way to support this website, but turned out to be far too much of a burden to our visitors. Thank you for your feedback on our (brief) test with browser based bitcoin mining. SeptemExit Coinhive (in-browser bitcoin mining) In case you notice any problems or irregularities I'd be happy if you notify me so I can check on them. You may/should notice some speed improvements. So, ManyTools has now been moved to a shiny new hosting cluster. JPhasing out hosting server after (almost) 10 yearsĪfter having been running steadily on the previous server for almost ten(!) years, it became time to retire that machine. These intermittent errors were a byproduct of the recent server move and have now been fixed. The past few weeks you may have seen a server error or two on the steganography tool. AugSteganography tool fixed (server errors) In case there's a reason for these attacks, do let me know. So if you take it down it will simply be unavailable for a lot of legitimate users. I have no resources nor interest to fight back. AugTo the person(s) attacking this site: please stop
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |