SHARE
TWEET

Turla Case Value Automation

a guest Sep 29th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def main():
  2.  
  3.     keys = """<#RShift> <#LShift> <#RCtrl> <#LCtrl> <!RShift> <!LShift> <!RCtrl> <!LCtrl> - + [] \ ; / ` ' , . <PageUp> <PageDown> <NumLock> <r/> <r*> <r-> <r+> <r1> <r2> <r3> <r4> <r5> <r6> <r7> <r8> <r9> <r0> <r.> <F1> <F2> <F3> <F4> <F5> <F6> <F7> <F8> <F9> <F10> <F11> <F12> <Down> <Up> <Right> <Left> <Del> <Print> <End> <Insert> <CapsLock> <Enter> <Backspace> <Esc> <Tab> """
  4.    
  5.     keys = keys.replace(" ", "")
  6.     keys = ".".join(keys)
  7.  
  8.     addition = raw_input("Hex Value: ")
  9.     size = input("String Size: ")
  10.     val = int(addition, 16)
  11.     size = val + size * 2 - 1
  12.    
  13.     output = keys[val:size]
  14.     if len(output) > 1:
  15.         output = output.replace(".", "")
  16.     print "Value: " + output
  17.    
  18. if __name__ == "__main__":
  19.     main()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top