Advertisement
hkbruvold

wildcards infection

Jun 9th, 2012
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 2.03 KB | None | 0 0
  1. # Deposit
  2. int mes(string texts[]){
  3.     message(texts[1],texts[2]);
  4. }
  5. void pay(string ip,float amounts[]){
  6.     mediumDeposit(ip,amounts[2]);
  7. }
  8. int main(){
  9.     string maler= getMaliciousIP();
  10.     string source = getSourceIP();
  11.     float fullamount = checkPettyCash();
  12.     float stpe = 90;
  13.     float omoneys[];
  14.     float mmoneys[];
  15.     string mmess[];
  16.     mmess[1] = maler;
  17.     omoneys[1] = fullamount;
  18.     omoneys[2] = fullamount-(fullamount*(stpe/100));
  19.     mmoneys[1] = fullamount;
  20.     mmoneys[2] = fullamount*(stpe/100);
  21.     pay(maler,mmoneys);
  22.     pay(source,omoneys);
  23.     mmess[2] = "You got "+mmoneys[2]+"/"+mmoneys[1]+" from "+source;
  24.     mes(mmess);
  25. }
  26.  
  27. # Withdraw
  28. int mes(string texts[]){
  29.     message(texts[1],texts[2]);
  30. }
  31. void pay(string ip,float amounts[]){
  32.     withdraw(ip,amounts[2]);
  33. }
  34. int main(){
  35.     string maler= getMaliciousIP();
  36.     string source = getSourceIP();
  37.     float fullamount = getAmount();
  38.     int ammo = 500;
  39.     float omoneys[];
  40.     float mmoneys[];
  41.     string mmess[];
  42.     mmess[1] = maler;
  43.     omoneys[1] = fullamount;
  44.     omoneys[2] = fullamount-(fullamount*(stpe/100));
  45.     mmoneys[1] = fullamount;
  46.     mmoneys[2] = (fullamount*(stpe/100));
  47.     pay(maler,mmoneys);
  48.     pay(source,omoneys);
  49.     mmess[2] = "You got "+mmoneys[2]+"/"+mmoneys[1]+" from "+source;
  50.     mes(mmess);
  51. }
  52.  
  53. # Transfer
  54. int mes(string texts[]){
  55.     message(texts[1],texts[2]);
  56. }
  57. void pay(string ip,float amounts[]){
  58.     mediumTransfer(ip,amounts[2]);
  59. }
  60. int main(){
  61.     string maler= getMaliciousIP();
  62.     string source = getSourceIP();
  63.     string target = getTargetIP();
  64.     float fullamount = checkPettyCash();
  65.     float stpe = 90;
  66.     float omoneys[];
  67.     float mmoneys[];
  68.     string mmess[];
  69.     mmess[1] = maler;
  70.     omoneys[1] = fullamount;
  71.     omoneys[2] = fullamount-(fullamount*(stpe/100));
  72.     mmoneys[1] = fullamount;
  73.     mmoneys[2] = fullamount*(stpe/100);
  74.     pay(maler,mmoneys);
  75.     pay(target,omoneys);
  76.     mmess[2] = "You got "+mmoneys[2]+"/"+mmoneys[1]+" from "+source;
  77.     mes(mmess);
  78. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement