-
-
Notifications
You must be signed in to change notification settings - Fork 44
3. Agent setup
I have developed the agents in both Python and C# language. Both do the same task, however the python's version is much faster and stable compared to the C# one.
The python version works on both Linux and Windows, whereas the C# version works only in Windows (since it is compiled in exe format).
Setting up the python agent is very easy, you only need to change the values on line 103-109 with the credentials you generated from the previous steps:
- client_id
- secret
- reddit username
- reddit password
- subreddit (the same as the teamserver's one)
- xor key (the same as the teamserver's one)
In this version, you only need to change the values on line 56-60 with the credentials you generated from the previous steps:
- reddit username
- reddit password
- subreddit (the same as the teamserver's one)
- xor key (the same as the teamserver's one)
When compiling the C# agent (you will need Visual Studio installed), it is necessary to have installed the required Libraries: RedditSharp
. In order to do so, please follow the next steps:
-
Click on Project tab and click on Manage NuGet Packages...
-
Click on Browse and search for RedditSharp. Install the version 1.1.13:
-
Change the credentials located in Program.cs, line 56-60 and build the project.
-
Once the project is built, the compiled exe will be located in: /bin/Release/ILMerge/RedditAgent.exe
If any error happens, feel free to open a new issue.