Jump to content

hisoka

Members
  • Content count

    557
  • Joined

  • Last visited

Everything posted by hisoka

  1. Starting to learn about filereader , I saw this concept : https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onload I do not understand what does this mean : The load event is fired when a resource and its dependent resources have finished loading. what is load ? what is a resource ? in an easy way I am really confused
  2. hisoka

    starting to learn , understanding LOAD

    So that implies that without the load event handler , the browser will block the reading of the file until it executes its own instructions and therefore the whole procedure will be synchronous ? what if I want only to read a file ? do I need , though , a load event handler ?
  3. hisoka

    starting to learn , understanding LOAD

    OK that explains ,very well, what is an event handler . my question was not why we use a load event . My question was why we need onload event handler after reading the file content ? I understand that an event handler is a function executed when an event is triggered . So based on this , an onload event handler is a javascript function which is executed after the file is read . Again based on this I asked , why we need onload event handler after reading the file content? in other words , why we need a function to be executed after the file is read ? and what this function that should be executed after the file is read to begin with ?
  4. hisoka

    registry backup

    thank you that is a brilliant idea . I will try it
  5. hisoka

    registry backup

    In this website , it is mentioned that registry backup is a bad idea : https://superuser.com/questions/608066/is-it-possible-to-import-a-windows-registry-file-without-destroying-a-system 1) to what location should they be copied ? could you please explain to me , technically , how this will happen ? who will replace them ? and how ? how is replacement exactly done ?
  6. hisoka

    starting to learn , understanding LOAD

    I have really a very hard time trying to understand these concepts : The FileReader.onload property contains an event handler executed when the load event is fired, when content read with readAsArrayBuffer, readAsBinaryString, readAsDataURL or readAsText is available. thanks to your previous answer Justsomeguy , I understood very well what is a resource and what is load . So putting what I understood into practice , all what i can only is that FileReader.onload is an event handler executed when the file content is read . I understand that , for example , clicking on a mouse is an event . However I do not understand what is an event handler ? and why we need onload event handler after reading the file content ?
  7. hisoka

    registry backup

    Thanks , you are right . I made a big mistake of terminology . I will try to be more clear the next time and work on my terminologies . I hope I will not make the same error again . So the above error came when I tried to RESTORE a registry key . What is the efficient way to avoid registry key restoring errors ?
  8. hisoka

    registry backup

    First I exported the key , only the key , then edited the key . As I saw that editing that key did not help me solve my problem , I tried to import it but I got the above error . I am not talking about any data or data in general and I do not want to argue . I said backing up SOME REGISTRY KEYS can engender a problem : you saw the above error by yourself . Is not the error above a proof that what i said is true ? The error above not all data was successfully written to the registry . Some keys are open by the system or other process is the result  of backing up a registry key . By backing up I mean (export , import) . no , making a copy of data is not destructive . Nevertheless , an error , that you cannot deny , is triggered because of backing up a key from the registry .
  9. hisoka

    registry backup

    So after writing to me that backing up one key , if I know what I am doing , is safe , I visited this website again : https://social.technet.microsoft.com/Forums/en-US/db35e055-fb5a-43a0-b478-a238a69b438a/quot1quot-mean-virus?forum=w7itprogeneral and then tried to change the KEY_CLASSES_ROOT\exefile\shell\open key after backing it up . As I thought that , may be , it can be the solution to the error exe cannot be found make sure you typed the name correctly and try again . I restarted my computer then tried to run the exe again as administrator but I still got the same error . anyway . Thus , I tried to import the exported key and to my surprise I got this error : not all data was successfully written to the registry . Some keys are open by the system or other process . it is the same error I got when I backed up the whole registry . yes it is . You see the result yourself in the above error . backing up a key can be as bad as backing up the whole registry even if you know what to do . This is not an absolute rule but some keys , when they are backed up and restored can engender the above error . Therefore , as a conclusion , I consider that , generally , backing up a part or the whole registry is a bad idea . As result , I will consider that my question is not answered . So I am not convinced by your last answer justsomeguy .
  10. hisoka

    registry backup

    Thank you very much
  11. hisoka

    request about a script

    In this website : http://www.howtocreate.co.uk/emails/test_RC4B64_js.htm When you clicked on the Download the script , you get a script . I know exactly what the script does . The script decrypts and encrypts based on a password . In the encryption process , the script asks for the password and the plaintext . From the password , a key stream will be created . Then , the created key stream will be XORED with the plaintext to give an RC4 cipher which , in return, is encoded to base 64 . the decryption process is the reverse of the encryption process. Anyway . My question is the following : Based , only , on these two information : 1) the ciphertext and 2)the script in the Download the script section is it possible to recover or hack or crack the password if we do not know it or we forget it ?
  12. hisoka

    request about a script

    it is possible if the password is a lowercase English word and part of the English sentence is guessable which it is . All what is needed is a brute forcer . I know javascript and I read all the tutorials in the w3schools concerning javascript all without exception and I understood them very well . I even read books about javascript and I understood what I read . So what do you suggest me ? can you tell me what should I do?
  13. hisoka

    registry backup

    Did not we agree that backing the registry up is a bad idea ? So I asked , in my previous post , if backing up one key of the registry is as bad as backing up the whole registry . because , logically , if backing up the whole is a bad idea then backing up a part from that whole is bad idea too . Isn't it ? and by backing up , I mean using the export option in the registry menu . and by restoring , I mean using the import option in the registry menu
  14. hisoka

    request about a script

    Ok I found a website in which there a script on how to read from a file . https://gist.github.com/Arahnoid/9925725 There is a piece of script : var txtFile = "c:/test.txt" var file = new File(txtFile); file.open("r"); // open file with read access var str = ""; while (!file.eof) { // read each line of text str += file.readln() + "\n"; } file.close(); alert(str); It is not hard to understand . Nonetheless I have some questions : why we use new and not just File . I mean why do not we use : var file = File(txtFile); File() Returns a newly constructed File. https://developer.mozilla.org/en-US/docs/Web/API/File I cannot find readln() function in google so what is it ? when I run the above script I got this error which I could not understand /* Exception: TypeError: Not enough arguments to File. @Scratchpad/1:3:12 */ I mean i understand that the function File() does not have enough argument . but how many argument should File() has ? How to repair the above error ?
  15. hisoka

    request about a script

    Is there a tutorial on how to do it in w3schools website ?
  16. hisoka

    request about a script

    it is a lowercase word . How I know it because I read in the mind of the challenger . I know the input . The input is the ciphertext which is an RC4 cipher . var input = "This is the input message"; var output = "LgYkO2JSfWoA394oOvXrwO4mtuDkusLCzg=="; we do not know the output . Because the output is the plaintext . So is not correcter to put the variable output as undefined like this : var output = " "; var t = toLowerCase(test); if(t.indexOf(' the ') != -1 || t.indexOf(' and ') != -1 || t.indexOf(' is ') != -1){ alert(test); } this is very brilliant
  17. hisoka

    registry backup

    I yes of course , only some keys should be changed and not the entire registry . However is not backing up one key then trying to restore it dangerous as well ?
  18. hisoka

    registry backup

    What if you want to change things in the registry many time in a different time ? you cannot reinstall your complete system every time . It makes no sense . So I do not think it is a good solution .
  19. hisoka

    registry backup

    I , indirectly, answered this question in another topic . I said that I never got the opportunity to learn computer science at university or at the hands of any computer expert for reasons I cannot mention here in this forum . Therefore what I am searching for , through my questions , is LEARNING and PROGRESSING . The only method to achieve this is to ask and ask and ask and ask and ask and ask . Reading tutorials , books and articles will provide me with information but will never make me progress . What makes me progress and become the best is asking . My questions seem weird , strange , stupid call them whatever you want but I do not see them like that . I do not even believe that there is a stupid question . It is all in the eyes of the beholder . It is like ugly and beautiful . It is all subjective . It is thanks to the questions that I asked in this forum , that you see as nonsense , that I learned and progressed . If I compare myself now with the time in which I first registered in this forum . You will bet I am far far better . I read things I cannot understand and to which I find either NO answer in the internet or a stupid answer of an amateur who knows nothing or a very complicated answer of an expert . So , I ask in the forum . This forum is , honestly , the best ever . Now about the context of my question . I thought you know it . However if you do not know I will tell you : I have an EXE file . when I try to run it , it says windows could not find the exe file make sure you typed the name correctly and try again . I read in some articles , some of them I mentioned the link here in this forum , that by changing something in the registry , I can avoid the above error . So as changing things in registry is dangerous and backup of registry is bad idea , I wanted to know a better and secure method to backup the registry without jeopardizing my system. This is the context of the above question . Unfortunately , the second half answer of the guy : is from my point of view vague so I asked for a technical explanation . yes of course , you are right it is me : I am a newbie , inexperienced , unskillful . This is why I am here . You as an expert . You see my requests and questions from the top of the mountain differently than me from the bottom of the mountain .
  20. hisoka

    registry backup

    hello , what do you mean by ?
  21. hisoka

    request about a script

    I know that the text is in English and I know that the password used to generate the key stream , is an English word with maximum 7 letters and minimum 3 letters and of course I know the ciphertext . Based on all these information , brute forcing will not take a long time , it will be the efficient and right method . the password lists , used in brute forcing are of course in English , and not a problem to get as I can find many lists using google . My only problem is that I cannot write the program that can do the brute force . I will , if I ever know how to write it , write it in javascript as it is the only language I know LITTLE about (better than nothing) . I have , absolutely , no idea about C++ , PHP or JAVA . Therefore I will write it in JAVASCRIPT . the algorithm can be like this I guess : 1) I need a program that decrypt . So I need to know how decryption is done 2) the program should be linked with the password list files . So it will take or accept , for example , 60 MB passwords 3) the program should know the right output that is the plaintext . How I do not know ? I mean how can the bruteforcer determine that it has the plaintext ? What do you mean by " appropriate test " ?
  22. hisoka

    request about a script

    OK could you please show me , step by step , how to fulfill this project ? Tell me please what to do step by step and from the beginning until the end thanks
  23. hisoka

    the meaning of "%1"%*

    In these two websites : https://www.youtube.com/watch?v=Ux3iMvyS7to https://social.technet.microsoft.com/Forums/en-US/db35e055-fb5a-43a0-b478-a238a69b438a/quot1quot-mean-virus?forum=w7itprogeneral the following symbol "%1" %* is mentioned . What is it ? could you , please , explain to me what is it exactly ? Best regards
  24. hisoka

    the meaning of "%1"%*

    I do not understand what do you mean by :
  25. hisoka

    compilation of zlib in cygwin

    I have windows 7 64 bit and Cygwin installed on it . I have zlib open source version 1.2.11 from https://zlib.net/ . I would like to compile it using Cygwin but I have no idea how to do it from the beginning til the end and step by step . Although I googled in the internet about how to compile zlib in cygwin , not only I did not find many articles , but the few I found were of no help to me as they do not show how to do the work step by step and in a simple way . Moreover , I read the zlib manual but there is not mentioned how to compile zlib . So any help on how to compile zlib in cygwin will be really appreciated
×