Subversion Repositories freemyipod

Rev

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

Rev 277 Rev 359
Line 35... Line 35...
35
  print "  s5l8701-decryptdfu <infile> <outfile>"
35
  print "  s5l8701-decryptdfu <infile> <outfile>"
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
  exit(2)
41
  exit(2)
41
 
42
 
42
 
43
 
43
def parsecommand(argv):
44
def parsecommand(argv):
44
  if len(argv) != 4: usage()
45
  if len(argv) != 4: usage()
Line 59... Line 60...
59
    libipodcrypto.s5l8702cryptnorfile(argv[2], argv[3])
60
    libipodcrypto.s5l8702cryptnorfile(argv[2], argv[3])
60
 
61
 
61
  elif argv[1] == "s5l8702-decryptnor":
62
  elif argv[1] == "s5l8702-decryptnor":
62
    libipodcrypto.s5l8702decryptnorfile(argv[2], argv[3])
63
    libipodcrypto.s5l8702decryptnorfile(argv[2], argv[3])
63
 
64
 
-
 
65
  elif argv[1] == "s5l8702-genpwnage":
-
 
66
    libipodcrypto.s5l8702genpwnagefile(argv[2], argv[3])
-
 
67
 
64
  else: usage()
68
  else: usage()
65
 
69
 
66
 
70
 
67
parsecommand(sys.argv)
71
parsecommand(sys.argv)