Skip to content

Commit

Permalink
No validation at all
Browse files Browse the repository at this point in the history
  • Loading branch information
krisdb2009 committed Feb 28, 2024
1 parent ffa219f commit e6142a2
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions Tikhole.Engine/Committer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,6 @@ private void Login()
"=name=" + UserName,
"=password=" + Password
]);
string[] response = TcpClient.SendSentence([
"/ip/firewall/address-list/print",
"=.proplist=.id,list,address,timeout",
"",
"/ipv6/firewall/address-list/print",
"=.proplist=.id,list,address,timeout"
]);
Logger.Success("Connected to " + RouterOSIPEndPoint.ToString() + ".");
}
catch
Expand Down Expand Up @@ -77,23 +70,7 @@ private void Matcher_ResponseMatched(object? sender, ResponseMatchedEventArgs e)
v6 = "v6";
cidr = "/128";
}
/*string[] response = TcpClient.SendSentence([
"/ip" + v6 + "/firewall/address-list/print",
"=.proplist=.id",
"?address=" + address.ToString() + cidr,
"?list=" + e.AddressListName
]);*/
Committed++;
/*if (response.Length == 3)
{
TcpClient.SendSentence([
"/ip" + v6 + "/firewall/address-list/set",
response[1],
"=comment=" + comment,
"=timeout=" + ListTTL
]);
continue;
}*/
TcpClient.SendSentence([
"/ip" + v6 + "/firewall/address-list/add",
"=list=" + e.AddressListName,
Expand Down

0 comments on commit e6142a2

Please sign in to comment.