Subversion Repositories freemyipod

Rev

Rev 424 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 424 Rev 722
Line 36... Line 36...
36
  print "  s5l8701-cryptfirmware <infile> <outfile>"
36
  print "  s5l8701-cryptfirmware <infile> <outfile>"
37
  print "  s5l8701-decryptfirmware <infile> <outfile>"
37
  print "  s5l8701-decryptfirmware <infile> <outfile>"
38
  print "  s5l8702-cryptnor <infile> <outfile>"
38
  print "  s5l8702-cryptnor <infile> <outfile>"
39
  print "  s5l8702-decryptnor <infile> <outfile>"
39
  print "  s5l8702-decryptnor <infile> <outfile>"
40
  print "  s5l8702-genpwnage <infile> <outfile>"
40
  print "  s5l8702-genpwnage <infile> <outfile>"
-
 
41
  print "  s5l8720-genpwnage <infile> <outfile>"
41
  exit(2)
42
  exit(2)
42
 
43
 
43
 
44
 
44
def parsecommand(argv):
45
def parsecommand(argv):
45
  if len(argv) != 4: usage()
46
  if len(argv) != 4: usage()
Line 63... Line 64...
63
    libipodcrypto.s5l8702decryptnorfile(argv[2], argv[3])
64
    libipodcrypto.s5l8702decryptnorfile(argv[2], argv[3])
64
 
65
 
65
  elif argv[1] == "s5l8702-genpwnage":
66
  elif argv[1] == "s5l8702-genpwnage":
66
    libipodcrypto.s5l8702genpwnagefile(argv[2], argv[3])
67
    libipodcrypto.s5l8702genpwnagefile(argv[2], argv[3])
67
 
68
 
-
 
69
  elif argv[1] == "s5l8720-genpwnage":
-
 
70
    libipodcrypto.s5l8720genpwnagefile(argv[2], argv[3])
-
 
71
 
68
  else: usage()
72
  else: usage()
69
 
73
 
70
 
74
 
71
parsecommand(sys.argv)
75
parsecommand(sys.argv)