Advertisement
Guest User

ttttttz

a guest
Dec 22nd, 2014
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.62 KB | None | 0 0
  1. package abc
  2. {
  3. import flash.net.URLRequest;
  4. import flash.utils.ByteArray;
  5. import com.adobe.utils.IntUtil;
  6. import flash.net.URLRequestMethod;
  7. import com.adobe.crypto.MD5;
  8.  
  9. public class IDontGiveAFuck extends Object
  10. {
  11.  
  12. public function IDontGiveAFuck()
  13. {
  14. super();
  15. }
  16.  
  17. static const scrtwrd = "aloha";
  18.  
  19. public static function getSig(param:Object) : URLRequest
  20. {
  21. var i:String = null;
  22. var request4:URLRequest = null;
  23. var j:int = 0;
  24. var aa:int = 0;
  25. var bb:int = 0;
  26. var cc:int = 0;
  27. var dd:int = 0;
  28. var transform:Function = function(func:Function, a:int, b:int, c:int, d:int, x:int, s:int, t:int):int
  29. {
  30. var tmp:int = a + int(func(b,c,d)) + x + t;
  31. return IntUtil.rol(tmp,s) + b;
  32. };
  33. var request:URLRequest = new URLRequest();
  34. var $44$:Array = [];
  35. var $33$:String = "IDontGiveAFuсk,";
  36. request.data = param;
  37. request.method = URLRequestMethod.POST;
  38. for(i in request.data)
  39. {
  40. $44$.push({
  41. "field":i,
  42. "value":request.data[i]
  43. });
  44. }
  45. request4 = new URLRequest();
  46. $44$.sortOn("field");
  47. $44$.reverse();
  48. $33$ = "IDontGiveAFuсk,";
  49. $44$.reverse();
  50. j = 0;
  51. while(j < $44$.length)
  52. {
  53. $33$ = $33$ + ($44$[j].field + "=" + $44$[j].value + ",");
  54. j++;
  55. }
  56. $44$.reverse();
  57. $44$.reverse();
  58. if((param.t) && (param.t % 2))
  59. {
  60. $33$ = $33$ + "j9rfOvopijmlear3";
  61. }
  62. else
  63. {
  64. $33$ = $33$ + "gf65hgh78h5emvvq";
  65. }
  66. var a:int = 1732584193;
  67. var b:int = -271733879;
  68. var c:int = -1732584194;
  69. var d:int = 271733878;
  70. var md5:String = MD5.hash($33$);
  71. $44$.reverse();
  72. $44$.reverse();
  73. j = 0;
  74. while(j < 32)
  75. {
  76. j++;
  77. }
  78. request.data.x = md5;
  79. var digest:ByteArray = new ByteArray();
  80. digest.writeInt(a);
  81. digest.writeInt(b);
  82. digest.writeInt(c);
  83. digest.writeInt(d);
  84. digest.position = 0;
  85. return request;
  86. }
  87.  
  88. private static function transform(func:Function, a:int, b:int, c:int, d:int, x:int, s:int, t:int) : int
  89. {
  90. var tmp:int = a + int(func(b,c,d)) + x + t;
  91. return IntUtil.rol(tmp,s) + b;
  92. }
  93.  
  94. }
  95. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement