You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Console.WriteLine($"\nThe LNAC Bot. It's main purpose for now is to execute special commands on the machine it is running on and send the result of the execution to the client who requested it"+
newBoolCommandLineOption("message","Run the client in message mode"),
24
+
newBoolCommandLineOption("listener","Run the client in listener mode"),
25
+
newBoolCommandLineOption("fileupload","Uploads a given file to the server"),
26
+
newBoolCommandLineOption("listfiles","Returns a list of all existing files on the server"),
27
+
newBoolCommandLineOption("filedownload","Downloads an existing file from the server"),
28
+
newBoolCommandLineOption("filedelete","Deletes an existing file from the server"),
29
+
newBoolCommandLineOption("chat","Runs the client essentially in a listener mode, but when you start typing you are delivered a prompt and with enter you will send the message"),
30
+
newStringCommandLineOption("--file","Path of the file you want to delete, download or upload from/to the server"),
31
+
newStringCommandLineOption("--server","The IP Address the bot should connect to (e.g localhost)","localhost"),
32
+
newInt32CommandLineOption("--port","The port that the bot should connect to (default: 5000)",5000),
33
+
newBoolCommandLineOption("--https","\"Whether to connect per HTTP or HTTPs\""),
34
+
newStringCommandLineOption("--text","The text message to send to the server. (only when in message mode!)"),
35
+
newStringCommandLineOption("--clientName","The name of your client. If not specified, your machine name will be sent as clientName to the server",Environment.MachineName),
36
+
newStringCommandLineOption("--key","An Authentication password that the server requires to allow incoming requests from the client!","1234"),
37
+
newBoolCommandLineOption("--ignoresslerrors","Whether to ignore SSL Errors in console"),
38
+
newStringCommandLineOption("--targetPath","Path where you want the requested File to be saved at after downloading it"),
39
+
newBoolCommandLineOption("--help","Prints out the commands and their corresponding description")
newStringCommandLineOption("--clientName","Specifies the bot name, otherwise the name of the machine will be used\", \"Whether to ignore SSL Erros in console.",Environment.MachineName),
22
+
newStringCommandLineOption("--key","An Authentication password that the bot should send along the requests to be able to perform tasks. (default: 1234)","1234"),
23
23
24
-
newBoolCommandLineOption("--ignoresslerrors"),
25
-
newBoolCommandLineOption("--help")
24
+
newBoolCommandLineOption("--ignoresslerrors","Whether to ignore SSL Erros in console."),
25
+
newBoolCommandLineOption("--help","Prints out the commands and their corresponding description")
0 commit comments