Нужно написать пассер

Discussion in 'PHP' started by sendsms, 30 Aug 2016.

  1. sendsms

    sendsms New Member

    Joined:
    19 Apr 2009
    Messages:
    32
    Likes Received:
    4
    Reputations:
    0
    Есть база в txt

    Код:
    card_id,valid_user,valid_system,zip,ssn,cvv,dob,city,sold,base,state,price,phone,buyer,email,number,expire,holder,address,country,user_name,card_type,date_added,cashed_out,total_price,date_purchased
    Код:
    9818,REFUNDED,<blank>,14203 Woodnook Drive,<blank>,341,<blank>,[email protected],1,77077,28153167814,3.00,TX,usmania27,US\r,6011008985506443,0819,Roy,Ginsburg,Houston,vncno1,<blank>,2016-05-22 21:50:41,0,0.00,2016-05-22 23:11:57
    9826,Invalid Card,<blank>,17540,/,420,"January 25, 1984",Leola,1,"- CREDIT - PLATINUM - AUSTRALIA AND NEW ZEALAND BANKING GROUP, LTD.",PA,10.00,717-656-7699,123qweiop,/,4564680016515555,1116,Eddie M. Rhoades,3599 Lincoln Drive,Australia,xfame,<blank>,2016-05-22 23:40:13,0,0.00,2016-05-30 03:13:54
    9827,<blank>,<blank>,36201,/,277,"March 19, 1990",Anniston,0,"- CREDIT - PLATINUM - FIA CARD SERVICES, N.A.",AL,10.00,256-294-7175,<blank>,/,5490995688808878,0918,Larry M. Boucher,2820 Ritter Street,United States,xfame,<blank>,2016-05-22 23:41:08,0,0.00,<blank>
    9828,<blank>,<blank>,77036,/,878,"October 4, 1931",Houston,1,"- CREDIT - PLATINUM - AUSTRALIA AND NEW ZEALAND BANKING GROUP, LTD",TX,10.00,832-521-7271,kaycee1452,/,4564680018302288,1117,Ann R. Becker,509 Circle Drive,Australia,xfame,<blank>,2016-05-22 23:42:13,0,0.00,2016-05-27 00:00:16
    9829,<blank>,<blank>,81019,/,733,"July 24, 1971",Colorado City,0,"- DEBIT - CLASSIC - BANK OF AMERICA, N.A.",CO,10.00,719-676-7724,<blank>,/,4815820069413373,0119,Todd T. Speights,310 Berry Street,United States,xfame,<blank>,2016-05-22 23:43:22,0,0.00,<blank>
    9830,REFUNDED,<blank>,97301,/,559,"November 5, 1961",Salem,1,"- CREDIT - PREMIER - TURKIYE IS BANKASI, A.S.",OR,10.00,503-587-4906,vFramez,/,4543580730941193,0620,Mitchell N. Carter,1104 Godfrey Street,Turkey,xfame,<blank>,2016-05-22 23:44:13,0,0.00,2016-05-25 21:29:38
    9831,<blank>,<blank>,30309,/,503,"February 1, 1988",Atlanta,1,"- CREDIT - PREMIER - CHASE BANK USA, N.A.",GA,10.00,404-870-4170,scheele_1,/,4266841415020047,0319,Mildred W. Williams,227 Stroop Hill Road,United States,xfame,<blank>,2016-05-22 23:45:05,0,0.00,2016-05-25 07:29:17
    9833,<blank>,<blank>,96797,/,178,"June 8, 1935",Waipahu,1,- CREDIT - CLASSIC - CANADIAN IMPERIAL BANK OF COMMERCE,HI,10.00,808-294-3924,bossbond,/,4503300016122153,0716,Diane R. Miller,3003 Stratford Drive,Canada,xfame,<blank>,2016-05-22 23:47:46,0,0.00,2016-05-24 01:59:19

    Нужно из каждой строки вытащить cvv number expire

    Пример по первым 2-м строкам

    341 6011008985506443,0819
    420 4564680016515555,1116
    277 5490995688808878,0918

    И что бы это сохранилось в отдельный файл в таком формате

    6011008985506443|08|19|341
    4564680016515555|11|16|420
    5490995688808878|09|18|277

    ICQ 558-558-558 жаба [email protected]
     
  2. totenkopf

    totenkopf Elder - Старейшина

    Joined:
    19 Jul 2010
    Messages:
    92
    Likes Received:
    64
    Reputations:
    19
    Все бы хорошо, но только структура твоих данных битая.

    Code:
    #!/usr/bin/perl
    
    open(SF,"source.txt");
    open(RF,">result.txt");
    
    while(<SF>){
    chomp($_);
    
    ($card_id,$valid_user,$valid_system,$zip,$ssn,$cvv,$dob,$city,$sold,$base,$state,$price,$phone,$buyer,$email,$number,$expire,$holder,$address,$country,$user_name,$card_type,$date_added,$cashed_out,$total_price,$date_purchased) = split(',',$_);
    
    print RF "$cvv $number,$expire\n";
    
    }
    
    Code:
    341 6011008985506443,0819
    420 123qweiop,/
    277 <blank>,/
    878 kaycee1452,/
    733 <blank>,/
    559 vFramez,/
    503 scheele_1,/
    178 /,4503300016122153
    
     
  3. winstrool

    winstrool ~~*MasterBlind*~~

    Joined:
    6 Mar 2007
    Messages:
    1,414
    Likes Received:
    911
    Reputations:
    863
    вот ты дебил, нах так палиться, такие вопросы в ПМ задаются а не в паблик ставятся...
     
    _________________________
  4. b3

    b3 Banned

    Joined:
    5 Dec 2004
    Messages:
    2,170
    Likes Received:
    1,155
    Reputations:
    202
  5. t0ma5

    t0ma5 Reservists Of Antichat

    Joined:
    10 Feb 2012
    Messages:
    828
    Likes Received:
    815
    Reputations:
    90
    lol хоть бы на пастербин залил чтоль)))
    свои пять копеек, дампите данные в формате sqlite, флаг такой есть у sqlmap dump-format и не страдайте фигней
     
    _________________________