SHARE
TWEET

Script to generate http://pastebin.com/T7KCsQcC

a guest Jan 17th, 2014 221 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Docs: http://pythonhosted.org/bitstring/
  2. from bitstring import BitArray, Bits
  3.  
  4. onion2 = '634292ba49fe336edada779a34054a335c2ec12c8bbaed4b92dcc05efe98f76abffdc2389bdb9de2cf20c009acdc1945ab095a52609a5c219afd5f3b3edf10fcb25950666dfe8d8c433cd10c0b4c72efdfe12c6270d5cfde291f9cf0d73cb1211140136e4057380c963d70c76948d9cf6775960cf98fbafa435c44015c5959837a0f8d9f46e094f27c5797b7f8ab49bf28fa674d2ad2f726e197839956921dab29724cd48e1a81fc9bab3565f7513e3e368cd0327b47cf595afebb78d6b5bca92ba021cd6734f4362a0b341f359157173b53d49ea5dff5889d2c9de6b0d7e8c615286ce596bfa83f50b6eeabd153aaf50cd75f39929ba11fb0f8e8d611442846'
  5. onion3 = '87de5b7fa26ab85d2256c453e7f5bc3ac7f25ee743297817febd7741ededf07ca0c7e8b1788ea4131441a8f71c63943d8b56aea6a45159e2f59f9a194af23eaabf9de0f3123c041c882d5b7e03e17ac49be67cef29fbc7786e3bda321a176498835f6198ef22e81c30d44281cd217f7a46f58c84dd7b29b941403ecd75c0c735d20266121f875aa8dec28f32fc153b1393e143fc71616945eea3c10d6820bd631cf775cf3c1f27925b4a2da655f783f7616f3359b23cff6fb5cb69bcb745c55dff439f7eb6a4094bd302b65a84360a62f94c8b010250fcc431c190d6ed8cc8a3bfce37dddb24b93f502ad83c5fa21923189d8be7a6127c4105fcf0e5275286f2'
  6. onion4 = 'bf1d5574ca36efd524e6c34c26cbd628b19aa835aceb94ea7f2ca7f33d1b8f51476bc597d4bf9ad5111d8f39ef5351b3b090bce47f023002fe69928e79f6f8147f6fe051f2f159041f932f5190308d7441fc3cecead0851662d3217485827e640a4183fa5bc8cef5ff7d1473d2746a37fbc8b94318ff0d3aeb467017c0ea5cb33b3e6967453986e1450b35ad47861f679cf7db5a6c170bcfb67544983ec1e36b27ee8c5721da39d27dbfa0cdc15ba3cbaa425e8a8b96b81ab665f3ebc41563a0e9270695d3d68887cfab2c07b290718307f764afba684b17fcfd71323f64206e5fa378b4ee89e80885733080065dd34a5c838898906b8d43de9f1d8eb6922bad'
  7.  
  8. _2_bits = BitArray(hex=onion2)
  9. _2_bits_r = BitArray(hex=onion2)
  10. _2_bits_r.reverse()
  11.  
  12. _3_bits = BitArray(hex=onion3)
  13. _3_bits_r = BitArray(hex=onion3)
  14. _3_bits_r.reverse()
  15.  
  16. _4_bits = BitArray(hex=onion4)
  17. _4_bits_r = BitArray(hex=onion4)
  18. _4_bits_r.reverse()
  19.  
  20. xored = {
  21.     '2^3^4': _2_bits ^ _3_bits ^ _4_bits,
  22.     '2^3': _2_bits ^ _3_bits,
  23.     '2^4': _2_bits ^ _4_bits,
  24.     '3^4': _3_bits ^ _4_bits,
  25.     '2r^3': _2_bits_r ^ _3_bits,
  26.     '2r^4': _2_bits_r ^ _4_bits,
  27.     '2r^3^4': _2_bits_r ^ _3_bits ^ _4_bits,
  28.     '2r^3r^4': _2_bits_r ^ _3_bits_r ^ _4_bits,
  29.     '2^2r': _2_bits ^ _2_bits_r,
  30.     '3^3r': _3_bits ^ _3_bits_r,
  31.     '4^4r': _4_bits ^ _4_bits_r,
  32.     '(2^2r)^(3^3r)^(4^4r)': (_2_bits ^ _2_bits_r) ^ (_3_bits ^ _3_bits_r) ^ (_4_bits ^ _4_bits_r)
  33. }
  34.  
  35. s = ''
  36. for k,v in xored.items():
  37.     s += "%s\n%s\n\n" % (k,v.hex)
  38.  
  39. f = open('out.txt', 'w')
  40. f.write(s)
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