FrogLegs

Brute Force Cracker

Jan 13th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3.  
  4. using namespace std;
  5.  
  6.  
  7. int number;
  8. char upperChar;
  9. char lowerChar;
  10. char misc;
  11.  
  12. int number[10]= '1', '2', '3', '4', '5', '6', '7', '8', '9', '0';
  13.  
  14. char upperChar[26]= 'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z';
  15.  
  16. char lowerChar[26]= 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z';
  17.  
  18. char misc[25]='~', '`', '!', '@', '#', '$', '%', '^', '&', '*', '(', ')', '_', '-', '=', '+', '{', '}', '[', ']', '|', '\', ',', '.','?';
  19.  
  20. Void lowerChar()
  21. {
  22. Void char length(unsigned int generate; string x)
  23. {
  24. if(generate==0)
  25. {
  26. std::cout << x /n;
  27. }
  28. for(unsigned int i=0; i<26; i++)
  29. {
  30. string appended=x + lowerChar[i];
  31. length(generate -1, appended);
  32. }
  33. }
  34. Void Crack()
  35. {
  36. while (1)
  37. {
  38. static unsigned int stringLength=1;
  39. length(stringlength " ");
  40. stringlength++
  41. }
  42. }
  43. int main()
  44. {
  45. std::cout <<"Attempting to crack..."<<; std::endl
  46. Crack();
  47. return 0;
  48. }
  49.  
  50. int upperChar()
  51. {
  52. Void char length(unsigned int generate; string x)
  53. {
  54. if(generate==0)
  55. {
  56. std::cout << x<<; std::endl;
  57. }
  58. for(unsigned int i=0; i<26; i++);
  59. {
  60. string appended=x + upperChar[i];
  61. length(generate -1, appended);
  62. }
  63. }
  64. Void Crack()
  65. {
  66. while (1)
  67. {
  68. static unsigned int stringLength=1;
  69. length(stringlength " ");
  70. stringlength++;
  71. }
  72. }
  73. int main()
  74. {
  75. cout <<"Attempting to crack..."\n;
  76. Crack()
  77. return 0;
  78. }
  79.  
  80. Void number()
  81. {
  82. Void char length(unsigned int generate; string x)
  83. {
  84. if(generate==0)
  85. {
  86. std::cout << x; std::endl
  87. }
  88. for(unsigned int i=0; i<10; i++);
  89. {
  90. string appended=x + number[i];
  91. length(generate -1, appended);
  92. }
  93. }
  94. Void Crack()
  95. {
  96. while (1)
  97. {
  98. static unsigned int stringLength=1;
  99. length(stringlength " ");
  100. stringlength++;
  101. }
  102. }
  103. int main()
  104. {
  105. cout <<"Attempting to crack..."<<; std::endl;
  106. Crack()
  107. return 0;
  108. }
  109.  
  110. Void misc()
  111. {
  112. Void char length(unsigned int generate; string x)
  113. {
  114. if(generate==0);
  115. {
  116. std::cout << x /n;
  117. }
  118. for(unsigned int i=0; i<25; i++);
  119. {
  120. string appended=x + misc[i];
  121. length(generate -1, appended);
  122. }
  123. }
  124. Void Crack()
  125. {
  126. while (1)
  127. {
  128. static unsigned int stringLength=1;
  129. length(stringlength " ");
  130. stringlength++;
  131. }
  132. }
  133. int main()
  134. {
  135. cout<<"Attempting to crack..."<<; std::endl;
  136. Crack()
  137. return 0;
  138. }
Add Comment
Please, Sign In to add comment