Changeset 335
- Timestamp:
- 04/15/10 13:49:01 (3 years ago)
- Location:
- trollforge/mao/xmpp-ruin
- Files:
-
- 1 added
- 3 edited
-
gen_nick.pl (added)
-
jid-ruin.pl (modified) (2 diffs)
-
jru-autoreg.pl (modified) (4 diffs)
-
room-ruin.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trollforge/mao/xmpp-ruin/jid-ruin.pl
r334 r335 5 5 use AnyEvent::XMPP qw/xep-86/; 6 6 use AnyEvent::XMPP::Client; 7 use Encode;8 7 9 binmode STDOUT, ":utf8";8 die "usage: $0 <target jid>" unless $ARGV[0]; 10 9 10 my $target = $ARGV[0]; 11 11 my $j = AnyEvent->condvar; 12 12 … … 36 36 print "Connected!\n"; 37 37 #print Dumper($_[0]); 38 $cl->send_message ("Connected!" => 'd@jabbim.com'); 39 #sleep 5; 38 $cl->send_message ("LOL" => $target, $cl->get_account($user), 'normal'); 39 $cl->send_message ("LOL" => $target, $cl->get_account($user), 'error'); 40 $cl->send_message ("LOL" => $target, $cl->get_account($user), 'headline'); 40 41 0 41 42 }, -
trollforge/mao/xmpp-ruin/jru-autoreg.pl
r334 r335 11 11 use MIME::Base64; 12 12 13 #use Data::Dumper; 13 require 'gen_nick.pl'; 14 use Data::Dumper; 14 15 15 16 # SET THIS SHIT UP 16 # gmail mailbox: <something>@gmail.com17 my $gmail = " bla";17 # gmail mailbox: 18 my $gmail = "gnar.official"; 18 19 # gmail password: 19 my $gm_pass = " bla";20 my $gm_pass = "1iamname"; 20 21 # path to web dir (file will be saved as 'captcha.jpg'): 21 my $www_path = "/home/bla/www"; 22 22 my $www_path = "/home/mao/www"; 23 # password for new JID 24 my $pass_word = "FUCK_YOU"; 23 25 24 26 my $m = WWW::Mechanize->new(); … … 30 32 31 33 my $form = $m->form_number(2); 32 my @chars = ('a'..'z', '0'..'9'); 33 my $uname = "urmom".int(rand(666)).$chars[rand @chars].$chars[rand @chars].$chars[rand @chars].$chars[rand @chars]; 34 my $uname = gen_nick();#"urmom".int(rand(666)).$chars[rand @chars].$chars[rand @chars].$chars[rand @chars].$chars[rand @chars]; 34 35 $m->field("username", $uname); 35 36 $m->field("name", "FUCK OFF"); 36 37 $m->field("fam","lol"); 37 38 $m->field("gorod","lol"); 38 $m->field("email",$gmail."+".int(rand( 200)).$chars[rand @chars].$chars[rand @chars].$chars[rand @chars]."\@gmail.com");39 $m->field("email",$gmail."+".int(rand(100))."\@gmail.com"); 39 40 print "Input captcha: "; 40 41 my $a = <STDIN>; … … 52 53 } 53 54 54 sleep 5;55 sleep 2; 55 56 56 57 my $activate_url = "http://reg.jabber.ru/continuereg/"; … … 79 80 $form = $m->form_number(1); 80 81 $m->field("username", $uname); 81 $m->field("pass", "FUCKOFF"); 82 $m->field("pass2","FUCKOFF"); 83 82 $m->field("pass", $pass_word); 83 $m->field("pass2",$pass_word); 84 #$m->field("name","lol"); 85 #$m->field("fam", "lol"); 86 #$m->field("email",$gmail."+".int(rand(100))."\@gmail.com"); 87 #print "Input captcha: "; 88 #my $a = <STDIN>; 89 #chomp $a; 90 #$m->field("user_code",$a); 84 91 $m->click(); 85 92 if($m->content =~ m{бÑÐŽÐµÑ ÑПзЎаМ ÑеÑез 1 ЌОМÑÑÑ}) { 86 print "$uname\@jabber.ru:FUCKOFF"; 93 print ":)\n"; 94 `echo "$uname\@jabber.ru:$pass_word" >> accounts.txt` 87 95 } else { 88 96 print "Something went wrong at the last stage!\n"; -
trollforge/mao/xmpp-ruin/room-ruin.pl
r334 r335 71 71 72 72 #print Dumper($msg); 73 # $muc->reg_cb( 74 # enter => sub { 75 # my ($room, $user) = @_; 76 # print Dumper($room->get_users()); 77 # }); 73 #$muc->reg_cb( 74 # enter => sub { 75 # my ($room, $user) = @_; 76 # }); 78 77 $muc->reg_cb( 79 78 message => sub { 80 79 my ($cl, $room, $msg, $is_echo) = @_; 81 80 my $repl = $msg->make_reply; 82 $repl->add_body("NIGGERS JEWS BAD NEWS\n\n\n\nãã\ \n");81 $repl->add_body("NIGGERS JEWS BAD NEWS\n\n\n\nãã\n"); 83 82 $repl->send; 84 83 foreach my $faggot($room->get_users()) { 85 my $pid = fork();86 unless($ pid==0 OR $faggot->nick eq 'Hit-ler') {84 #my $pid = fork(); 85 unless($faggot->nick eq 'Yulya___' || $faggot->nick eq '/B/_WARRIOR_TOHOU_HERO') { 87 86 my $u_msg = $faggot->make_message(body=>"lol u suck", type=>'headline'); 88 87 $u_msg->send(); … … 91 90 $u_msg = $faggot->make_message(body=>"lol u suck", type=>'error'); 92 91 $u_msg->send(); 92 # exit() 93 93 } 94 94 } … … 137 137 138 138 #my $timer = 139 # $cl->send_message ("Hello!" => 'd@jabbim.com');139 # 140 140 141 141 $j->wait;
Note: See TracChangeset
for help on using the changeset viewer.
