Advertisement
Guest User

Untitled

a guest
Mar 21st, 2019
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.51 KB | None | 0 0
  1. string chartype = project.Variables["Type"].Value
  2. Charset charset;
  3.  
  4. if(chartype == "a")
  5.     charset = Charset.LettersAndNumbers;
  6. if(chartype == "b")
  7.     charset = Charset.OnlyLetters;
  8. if(chartype == "c")
  9.     charset = Charset.OnlyNumbers;
  10.  
  11. var results = Permutation.Work(
  12.     project.Variables["SerialKey"].Value,
  13.     Int32.Parse(project.Variables["CountCharacters"].Value),
  14.     Int32.Parse(project.Variables["MaxKey"].Value),
  15.     charset
  16. );
  17.  
  18. foreach(var item in results)
  19. {
  20.   project.SendInfoToLog("[-]" + item, false);
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement