Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace ssh_pro_checker
- {
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- private void Form1_Load(object sender, EventArgs e)
- {
- }
- private void bt1_Click(object sender, EventArgs e)
- {
- string[] danh_sach_nhap_vao = txtdauvao.Text.Trim().Split(new string[] { Environment.NewLine }, StringSplitOptions.None);
- for (int i = 0; i <danh_sach_nhap_vao.Length; i++);
- //MessageBox.Show(" Đã thực hiện xong");
- string ssh = danh_sach_nhap_vao[i];
- if (string.IsNullOrEmpty(ssh) == false)
- {
- string [] ssh_nhap_vao=ssh.Split('|');
- if (ssh_nhap_vao.Length<3)
- {
- MessageBox.Show("ssh " + ssh + "là ssh lỗi");
- }
- }
- }
- private void tacvu_SelectedIndexChanged(object sender, EventArgs e)
- {
- //if (tacvu.SelectedIndex == 0)
- //{
- // MessageBox.Show(" Lọc SSH hư");
- //}
- //else if(tacvu.SelectedIndex ==1)
- //{
- // MessageBox.Show(" Lọc bỏ các ssh trùng( cả ip, user, pass)");
- //}
- //else if (tacvu.SelectedIndex == 2)
- //{
- // MessageBox.Show("Lọc bỏ các ssh trùng ip");
- //}
- //else if (tacvu.SelectedIndex == 3)
- //{
- // MessageBox.Show("Check info ip 1 thread");
- //}
- //else if (tacvu.SelectedIndex == 4)
- //{
- // MessageBox.Show("Check ssh live/died 1 thread");
- //}
- //else if (tacvu.SelectedIndex == 4)
- //{
- // MessageBox.Show("Check ssh live/died 1 thread");
- //}
- //else if (tacvu.SelectedIndex == 5)
- //{
- // MessageBox.Show("Xuất ssh ra file txt");
- //}
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment