Jump to content

hisoka

Members
  • Content count

    546
  • Joined

  • Last visited

Community Reputation

2 Neutral

About hisoka

  • Rank
    Invested Member
  1. 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 ?
  2. hisoka

    request about a script

    Is there a tutorial on how to do it in w3schools website ?
  3. 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
  4. 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 ?
  5. 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 .
  6. 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 .
  7. hisoka

    registry backup

    hello , what do you mean by ?
  8. 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 " ?
  9. 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 ?
  10. 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
  11. hisoka

    the meaning of "%1"%*

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

    request about a script

    OK , lets suppose the password is a weak English word with 5 characters . So the password can be brute forced using a dictionary attack . The problem is that I could not find a bruteforcer that could do the job for me and recover the password from the above script and as i am a newbie , I cannot write my own . So what should I do ? could you please provide me with a good bruteforcer or if not possible help me write one or suggest another solution ? Best regards
  13. hisoka

    compilation of zlib in cygwin

    the file I am trying to run is the file with the text extension I sent to you . I changed its extension to .exe and I named it key then I run it as administrator but I got the above error .
  14. hisoka

    compilation of zlib in cygwin

    Yes yes yes I did understand you very well but . It is only that I forget . Thank you for remembering me . I change the file to .exe and run it as administrator but to my surprise I got an error that says : Windows cannot find key.exe make sure you typed the name correctly and try again . I did many researches , through googling the error , but none of the solutions I found in google helped me solve my problem . I am lost and really stuck and do not know how to solve my problem . Help
  15. hisoka

    the meaning of "%1"%*

    In the second link the following is mentioned : why should a name of a command or a program , in the context menu , changed to "%1" %* in order to avoid this error : can’t open .exe files in Windows 7 ? I do not understand . I think you should take a look at the video , which is 2 minutes and 50 seconds , short , in order for you to be able to answer my question .
×