Hi, just a quick question:
The sockets allow to send and execute a command on a client ??
If so, do you have any tutorials in French?
You can use sockets to communicate between the server and client and then execute local commands with the client.
(Sep 14, 2020 07:02 AM)Poet Wrote: You can use sockets to communicate between the server and client and then execute local commands with the client.
Thank you, but how can the client execute the command sent by the server? (Sample code please ??)
Sep 14, 2020 08:12 AM
(This post was last modified: Sep 14, 2020 08:17 AM by MavenGradle.)
(Sep 14, 2020 08:10 AM)indetectable Wrote: Thank you, but how can the client execute the command sent by the server? (Sample code please ??)
Because the programmer in question added the code to execute the given command. Things don't just magically happen by simply opening connections between machines.
In code it could look something like:
Code switch(command.Type) {
case Command.Type.LAUGH:
Console.WriteLine("hahah");
break;
....
}
Sep 14, 2020 08:23 AM
(This post was last modified: Sep 14, 2020 09:01 AM by indetectable.)
Ok, thank you very much i try this
(Sep 14, 2020 08:12 AM)MavenGradle Wrote: Because the programmer in question added the code to execute the given command. Things don't just magically happen by simply opening connections between machines.
In code it could look something like:
Code switch(command.Type) {
case Command.Type.LAUGH:
Console.WriteLine("hahah");
break;
....
}
Will you have the same code on the server side?
Google for "c# reverse shell" or something like that.
Also, github is your friend https://github.com/search?l=C%23&q=rever...positories
Sep 14, 2020 11:22 AM
(This post was last modified: Sep 14, 2020 03:27 PM by indetectable.)
(Sep 14, 2020 10:24 AM)Pernat1y Wrote: Google for "c# reverse shell" or something like that.
Also, github is your friend https://github.com/search?l=C%23&q=rever...positories
Thank you i think is this I'm looking for
But I do not know how to use it ..........
(Sep 14, 2020 11:22 AM)indetectable Wrote: Thank you i think is this I'm looking for
But I do not know how to use it ..........
Learn2code then
Sep 16, 2020 07:42 AM
(This post was last modified: Sep 16, 2020 07:42 AM by indetectable.)
There is very little or no documentation in my language (no tutorial in French or documents on sockets in C #) ...
(Sep 16, 2020 04:09 AM)Pernat1y Wrote: Learn2code then
(Sep 16, 2020 07:42 AM)indetectable Wrote: There is very little or no documentation in my language (no tutorial in French or documents on sockets in C #) ...
Learn English. I know that sounds harsh, but I'm not English either. This isn't about some language being better than another, its about the availability of resources.
The rate at which you can learn things drastically increase if you can add English resources to the list of places you can learn from.
Sep 17, 2020 01:31 AM
(This post was last modified: Sep 17, 2020 01:32 AM by Scapula™.)
Sep 17, 2020 06:12 AM
(This post was last modified: Sep 17, 2020 06:44 AM by indetectable.)
(Sep 16, 2020 11:39 PM)Shadow_Cloud Wrote: Learn English. I know that sounds harsh, but I'm not English either. This isn't about some language being better than another, its about the availability of resources.
The rate at which you can learn things drastically increase if you can add English resources to the list of places you can learn from.
Yes, that's what I'm going to do
(Sep 17, 2020 01:31 AM)Scapula™ Wrote: 2 seconds of research on google.fr with the words "socket" "asynchrone" "vb.net"
https://vincentlaine.developpez.com/tuto...one/vbnet/
https://docs.microsoft.com/fr-fr/dotnet/...et-example
"vb.net" ?? We are in the c # section
"https://vincentlaine.developpez.com/tuto/dotnet/socketasynchrone/vbnet/ " I don't like developpez.com
"https://docs.microsoft.com/fr-fr/dotnet/framework/network-programming/asynchronous-server-socket-example"
Copying something stupidly doesn't teach me to think. (Even more if it's in English)
Look on google for more than two seconds before posting a response
(Sep 17, 2020 06:12 AM)indetectable Wrote: Yes, that's what I'm going to do
"vb.net" ?? We are in the c # section
"https://vincentlaine.developpez.com/tuto/dotnet/socketasynchrone/vbnet/ " I don't like developpez.com
"https://docs.microsoft.com/fr-fr/dotnet/framework/network-programming/asynchronous-server-socket-example"
Copying something stupidly doesn't teach me to think. (Even more if it's in English)
Look on google for more than two seconds before posting a response
Then maybe don't just C+P blindly, but try to actually understand what's there. StackOverflow can be a good place to look too. As people said above, if you don't know English, your possibilities are really limited. Most resources are in English, even the coding languages are in English. (or at least I've never seen anything like $objecterino->getterinoUsernamerino() by default)
Sep 20, 2020 05:12 AM
(This post was last modified: Sep 20, 2020 05:15 AM by riu41776.)
It seems like that people here don't understand that sockets are the lowest level of system communication. it's the establishment of the raw communication of bits going through the osi level 1 (physical layer) to the endpoint.
There are some application layers (osi level 7) that abstract sockets to make it easier to develop software so you don't need to deal with implementation details such as RPC based.
|