easybox keygen - Windows Batch Skript


SUBMITTED BY: Guest

DATE: Dec. 3, 2013, 1:22 p.m.

FORMAT: Text only

SIZE: 2.2 kB

HITS: 853

  1. @echo off & setlocal enabledelayedexpansion
  2. echo ####### Arcor/EasyBox WPA-Key Generator #######
  3. echo http://www.wotan.cc
  4. echo Use this only on your own AP!
  5. echo.
  6. set /p macu=Bitte geben Sie die MAC ein:
  7. set mac=!macu::=!
  8. set mac=!mac:-=!
  9. set m9=!mac:~8,1!
  10. set m10=!mac:~9,1!
  11. set m11=!mac:~10,1!
  12. set m12=!mac:~11,1!
  13. set /a smac=0x!m9!!m10!!m11!!m12!
  14. if !smac! lss 10 (
  15. (set smac=0000)
  16. ) else (
  17. if !smac! lss 100 (
  18. (set smac=000!smac!)
  19. ) else (
  20. if !smac! lss 1000 (
  21. (set smac=00!smac!)
  22. ) else (
  23. if !smac! lss 10000 (
  24. (set smac=0!smac!)
  25. ))))
  26. set s6=!smac:~0,1!
  27. set s7=!smac:~1,1!
  28. set s8=!smac:~2,1!
  29. set s9=!smac:~3,1!
  30. set s10=!smac:~4,1!
  31. set smac=%s6%%s7%%s8%%s9%%s10%
  32. set /a k1=s7+s8+0x!m11!+0x!m12!
  33. set dec=!k1!
  34. call :dectohex
  35. set k1=0x!hex!
  36. set /a k2=s9+s10+0x!m9!+0x!m10!
  37. set dec=!k2!
  38. call :dectohex
  39. set k2=0x!hex!
  40. set /a x1="k1^s10"
  41. set dec=!x1!
  42. call :dectohex
  43. set x1=!hex!
  44. set /a x2="k1^s9"
  45. set dec=!x2!
  46. call :dectohex
  47. set x2=!hex!
  48. set /a x3="k1^s8"
  49. set dec=!x3!
  50. call :dectohex
  51. set x3=!hex!
  52. set /a y1="k2^^0x!m10!"
  53. set dec=!y1!
  54. call :dectohex
  55. set y1=!hex!
  56. set /a y2="k2^^0x!m11!"
  57. set dec=!y2!
  58. call :dectohex
  59. set y2=!hex!
  60. set /a y3="k2^^0x!m12!"
  61. set dec=!y3!
  62. call :dectohex
  63. set y3=!hex!
  64. set /a z1="0x!m11!^^s10"
  65. set dec=!z1!
  66. call :dectohex
  67. set z1=!hex!
  68. set /a z2="0x!m12!^^s9"
  69. set dec=!z2!
  70. call :dectohex
  71. set z2=!hex!
  72. set /a z3="k1^k2"
  73. set dec=!z3!
  74. call :dectohex
  75. set z3=!hex!
  76. set key=!x1!!y1!!z1!!x2!!y2!!z2!!x3!!y3!!z3!
  77. echo.
  78. echo MAC: %macu%
  79. echo SSID: EasyBox-%mac:~6,4%%s6%%s10%
  80. echo SSID: Arcor-%mac:~6,4%%s6%%s10%
  81. echo SSID: Vodafone-%mac:~6,4%%s6%%s10%
  82. echo SMAC: %smac%
  83. echo K1: %K1%
  84. echo K2: %K2%
  85. echo WPA-KEY: %key%
  86. echo.
  87. pause
  88. :dectohex
  89. set "hex="
  90. set "map=0123456789ABCDEF"
  91. for /L %%N in (1,1,1) do (
  92. set /a "d=dec&15,dec>>=4"
  93. for %%D in (!d!) do set "hex=!map:~%%D,1!!hex!"
  94. )
  95. set "dec="

comments powered by Disqus