Jump to content

Meet Remmanaut, the autoit remote administration tool


The future of Remmanaut  

22 members have voted

  1. 1. Would this tool interest you in some way?

    • Yes, i'd be interested in helping out with development somewhere down the road.
      14
    • Sure, i'd be interested in the tool once it's finished...
      8
    • The company i work for would definitly need such a tool!
      4
    • The company i work for already has similar a tool, don't need another.
      1
    • Nah, such a tool wouldn't contribute to anything i'm doing
      3


Recommended Posts

@faldo , I'm looking at the code and don't find any error correction. I mean, in case of error/failed , then what ?. For example, in Func _SendFile($LocalFile) , what if $FileSocket = TCPConnect($Remmanaut_Server_IP, $FilePort) fails ?, then what ?. That is just an example. Everything is coded expecting not to fail BUT something somewhere will, then there will be a crash of the running process or just unresponsive waiting for something that already failed but was not catched. Than what ?

Put the "settings.ini" in a variable with full path, like $g_INI = @ScriptDir&"\my.ini" , otherwise it may, one day, not find it, also, you may wanna put that ini elsewhere.

Last but not least, be super kind with anyone who dares talk to you. You have no idea how raw/inexperienced/clueless, you are, and how annoying that can be to someone who is not. 

Most of all, keep learning and thanks for sharing.

Link to post
Share on other sites
  • Replies 71
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

"The why" I've been working over 15 years in the IT industry and have realised that the best way of streamlining operations and support is by combining the concept of selling services (instead of ho

instead of Global $ServerIP = @IPAddress1 , do Global $ServerIP = "0.0.0.0" , that way it binds to all IPs Also, use Opt("MustDeclareVars", 1)  while coding, you'll be glad you did. The main

It's kind of you to explain your view on social behaviour. I'll respect your opinions if you respect mine. Now... please lets stick to the topic

Posted Images

Thanx for taking a look at the code @argumentum, much apreciated like before!
You're making a valid point about error handling and i'll be certain to focus on that once i've got the basic functionality to work properly. Stability and security will be my leading stars once i've managed find a good structure and base to stand on.
Also good point about settings.ini, wil correct that right away, thanx.

In your opinion, do you think this project has potential? I know a downfall of Autoit is the fact one can't multithread but i'm trying compensate with a queue-system, other than that i can't see any big hurdles to get over, do you?

As for my experiance, you're absolutely right, i'm just a novice at programming. I'm thankfull for all the help i get but i won't put up with hotshots who put themselves above others and don't "feel the need to explain" themselves. This is not a pissing contest, if you don't want to be humble and give constructive feedback, don't bother commenting at all.
I'll be happy to keep sharing if people accept me even if i'm not a pro.

Link to post
Share on other sites
7 minutes ago, faldo said:

I know a downfall of Autoit is the fact one can't multithread

That's not a problem. One can fork and IPC what you need out of the other processes that you'd rather not stop the script to wait for, and/or potentialy rendering a GUI unresponsive. So creativity is the key.

 

11 minutes ago, faldo said:

right, i'm just a novice at programming. I'm thankfull for all the help i get but i won't put up with hotshots

The forum is to aid, yes. But you are quite raw right now. Each one has and interpretation for what is been presented in written format and yours is not very understanding nor polite to what may be offensive from your view. Taking offense is inefficient and worse, losing the aid of those that are well respected contributors. The code in the v0.2 is not of an unprofessional, is actually quite clueless as far as basic understandings BUT you've taken the initiative to learn this language via writing a RAT, cool.

Don't get side tracked by your ego. Thank anyone that will look your way. Even if you feel offended. Avoid imparting offence by defending your persona. Toss your ego aside and capture the hint. For example,  "Uhhh, the use of @ is a really terrible idea.", that was a good point, if you search google you'd find ( http://stackoverflow.com/questions/1032161/what-is-the-use-of-the-symbol-in-php ) that its wrong to suppress error, and it is what I presented to you in my last post. Error catching is very important. Now, that rest of the pissing part was unnecessary. Again, anyone giving you a hint should be welcomed and treated as a Sensei . Just as you see in the movies.

So, beg for your life, ask for forgiveness and understanding that you are young and overly eager. And behave in a way a British gentleman would in an old movie, as you have not yet Zen your self.

37 minutes ago, faldo said:

I'll be happy to keep sharing if people accept me even if i'm not a pro.

You are accepted. The fact that you are here is prove.

 

Happy learning. Hope you continue with this project.

Link to post
Share on other sites

Congratulations on successful launch! I would suggest you compare you're product with readily available rmm products in the market. Please don't go for big players as they tend have their own modifications and built in , I suggest you newbie's and lesser known products as they tend give multiple products/features as their compliment  signup's. For example Comodo one is suite which allows user with device management + patch mangement + remote monitoring and management tool like this there are many products which will help you build your product in more sale able way.

Best Luck!

Link to post
Share on other sites
1 hour ago, Golden_back said:

Congratulations on successful launch! I would suggest you compare you're product with readily available rmm products in the market. Please don't go for big players as they tend have their own modifications and built in , I suggest you newbie's and lesser known products as they tend give multiple products/features as their compliment  signup's. For example Comodo one is suite which allows user with device management + patch mangement + remote monitoring and management tool like this there are many products which will help you build your product in more sale able way.

Best Luck!

Thank you and welcome to the forum!
As you say, it's allways good to look at other similar tools and make something unique. Remmanaut is free and as far as i've seen, that's pretty unique.
As for functionality, my plan is to create an engine with core components along with a standard for modules/addons. I call these addons "consequential feautures" in the OP since they derive from core functionality but with extended usefulness and results. That way, anyone can create content on top of the Remmanaut engine.
Cheers!

Edited by faldo
Link to post
Share on other sites

Hi,

 

i want try this soft.

I install server & management on pc A

I install agent on pc B

When i start pc B agent i have an error on pc A

Error :

Line 8122 (File "C:\Remmanaut server\Remmanaut-Agent connector.exe"):

Error: Subscript used on non-accessible variable.

Log :

Agent connector listening on port 5256
MySQL error while creating new agent: Incorrect datetime value: '25/04/2016 16:16:23' for column 'first_checkin' at row 1
Agent PC1 has come online.

After that Agent connector stop. So i'm completly stuck here. What i have miss ?

Link to post
Share on other sites

Thank you for your report, the error is due to date format and should be easy to fix. I'll upload a new version asap.

If you want to try a quick fix, change your database collation so that dates have dashes instead of slashes, like 25-04-2016 instead of 25/04/2016. If that don't help, it's most likely a "local settings" problem.

Cheers!

Edited by faldo
Link to post
Share on other sites

@Synapsee, I've uploaded a new build, all you should have to do is compile "Remmanaut-agent connector.au3" and replace it in your installation folder. Clear the agents-table in the DB and fire up the agent.
If it still don't work, try reinstalling the server part.

Link to post
Share on other sites
Quote

it's most likely a "local settings" problem

u are true about that. its a local settings problem. the 0.2 works if i change "local setting date string". anyway youre 0.2.1 fix that.

 

so now i see agent online. on manager i can do only "remote shell/execute shell command" for the moment ? i have miss other functionnality ? How can i use "file transfert funcionnality" ?

 

about "remote shell/execute shell command" :

i select a date i try just "cmd.exe" on command input

log return Sending cmd_sysuser|...   ...|cmd.exe

i have "error scheduling command" because management.au3 : Consolewrite(string($Recv)) = 0x01000000

agent log return nothing, i think the agent dont receive the packet (two computer are on same sub network)

Link to post
Share on other sites
2 hours ago, Synapsee said:

How can i use "file transfert funcionnality" ?

The file transfer function is not coded into the management tool yet, only in the engine, it will be available soon.

2 hours ago, Synapsee said:

about "remote shell/execute shell command" :

i select a date i try just "cmd.exe" on command input

log return Sending cmd_sysuser|...   ...|cmd.exe

i have "error scheduling command" because management.au3 : Consolewrite(string($Recv)) = 0x01000000

agent log return nothing, i think the agent dont receive the packet (two computer are on same sub network)

If you get error "error scheduling command", the command never got written to the database. Having all components on the same subnet should not be a problem.
Unfortunatly i havent managed to reproduce your problem yet but i believe it's a query problem. Could you please compile the attached file, replace the exe in your installation folder and then schedule another remote shell command? This will not correct the problem but should specify the error in the server log-file.

*Edit* Btw, you need to move the file to the src-folder of the Remmanaut build so that it can include the MySql.au3

Remmanaut-management connector.au3

Edited by faldo
Link to post
Share on other sites

Hey Faldo!

I run the latest setup with no prior installation, i get failed on ports, witch i guess is ok becose i havent installed it yet :)

but how to install it ?

PS:

i havent installed MySQL yet but i will do, just curius if it suppose to fail like this?

Also wonder if its possible to point to a test mysql server i have in the network..

 

2016-04-27 19:27:45 : Could not connect to Remmanaut server on 127.0.0.1:5074
2016-04-27 19:27:46 : Could not connect to Remmanaut server on 127.0.0.1:5076
2016-04-27 19:27:57 : Could not connect to Remmanaut server on 127.0.0.1:5074
2016-04-27 19:27:58 : Could not connect to Remmanaut server on 127.0.0.1:5075
2016-04-27 19:28:06 : Port 5074 did not respond for incomming trafic, please open the port and/or create a port forward to this machine in the firewall.
2016-04-27 19:28:07 : Port 5075 did not respond for incomming trafic, please open the port and/or create a port forward to this machine in the firewall.
2016-04-27 19:28:09 : Port 5076 did not respond for incomming trafic, please open the port and/or create a port forward to this machine in the firewall.
2016-04-27 19:28:10 : Can't connect to MySQL server on 'localhost' (10061)
 

//Lasse

Edited by lgvlgv
Link to post
Share on other sites
46 minutes ago, lgvlgv said:

ok, i understand when i saw this.

maybe the web part should be included so people really can test all aspekt of it?

 

$host = "www.remmanaut.com"
    $page = "/porttest.php?port=" & $port

 

Hey Faldo!

I run the latest setup with no prior installation, i get failed on ports, witch i guess is ok becose i havent installed it yet :)

but how to install it ?

PS:

i havent installed MySQL yet but i will do, just curius if it suppose to fail like this?

Also wonder if its possible to point to a test mysql server i have in the network..

........

//Lasse

 

Edited by lgvlgv
Link to post
Share on other sites

Tjena Lasse!
Yes, the setup will fail until you've set up the network properly... in fact i'll include a small tutorial in the readme file since you brought it up :)

The setup is designed to verify connections on the ports you define. This verification differs depending on what component you're trying to install.
You need to install the server component first in order for the setup to verify connection to that later, when installing the agent or management component.

The server installation procedure verifies both tcp-connections and MySQL, the MySql is simply a localhost-connection.
The TCP verification is done by:
1. Starting a TcpListen() on the specified port
2. Sends a request to a php-script on the internet (have a look at post #12 of this forum thread)
3. That script tries to create an empty socket to that TcpListen()
4. If the php-script manages to open the socket, and the MySql-server responds, the "installation" button is enabled.

*Edit* Remmanaut is poorly documented right now, but there will definitly be a wiki later on. I'm a one man team so bare with me :)

Edited by faldo
Link to post
Share on other sites

ok :)

how about useing mysql on example my nas, is that ok or do i need to run it locally and is a webserver/wamp part of the plan in the future?

if i manually create the mysql database with tables i can use my allready installed mysql on my nas?

Link to post
Share on other sites
7 minutes ago, lgvlgv said:

ok :)

how about useing mysql on example my nas, is that ok or do i need to run it locally and is a webserver/wamp part of the plan in the future?

if i manually create the mysql database with tables i can use my allready installed mysql on my nas?

Of course! You'll have to modify all the "localhost" connections and recompile... a search and replace in Scite should do the trick.
I'll add the possibility to define MySql address in a later version too :)
The wamp is just for people that don't want to mess too much with settings, you only really need the DB itself.

Edited by faldo
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By TheSaint
      I have now added a 4th program to the mix, and decided to place all under the banner of a suite - KindEbook Suite.
      I believe it will be better served by having its own topic, rather than attempt to edit the first few posts in the old one - KindEbook Wishlist.
      It is also a chance to de-clutter and make some improvements.
      MAIN PROGRAM
      KindEbook Wishlist
      COMPLIMENTARY PROGRAMS
      AZWPlug
      Add Book & All Formats To Calibre
      UpdateFromOPF
      Bucket-for-URLs
      ConvertEbook (now replaced by Batch Ebook Convert if you wish) Redundant where KFX files are concerned.
      Batch Ebook Convert (new)
      CalibBrowser - Multi-faceted viewer for calibre  (while kind of complimentary, not part of the suite proper, not a step to apply)
      ASSISTIVE PROGRAMS
      Batch Create & Run
      TeraCopy Timer
      RECOMMENDED 3RD PARTY PROGRAMS & RESOURCES
      calibre - Integral to the last two of my complimentary programs, and an important element of the first one. Basically an ebook database & conversion program, but also offers plenty more, especially adding ebooks to or removing ebooks from your reading device. Wikipedia
      Sigil - A wonderful open source ebook editor & creator. Great for fixing issues with EPUB files, especially after converting from another format. Wikipedia
      MobileRead Forums - Excellent resource for all things ebook.
      BookBub  - Great advisory source for ebooks, that lets you know via email about great bargains at Amazon Kindle, Kobo, Google Play, Barnes & Noble, Apple iBooks. I still use KindEbook Wishlist with anything I obtain at Amazon via BookBub links, but usually just for a purchase record ... essentially I ADD (mostly freebies) and then immediately RELOCATE to my bought (b) user. A BIG Thanks to @willichan who told me many months ago, about BookBub.
       
      Usage Of My Programs
      To help others to understand about these programs and how to use them for the best benefit, I thought it best to outline how I use them, usually each and every day.
      Quick Summary Of Usage  (in order of use)
      1. KindEbook Wishlist - Amazon Kindle Wishlist, Price Checker, History of Changes, Record of Purchases.
      2. Bucket-for-URLs - Assistant to KindEbook Wishlist with new ebook discoveries, if a lot of them. When BookBub freebies lead to many others at Amazon.
      3. AZWPlug - Add Kindle purchases to a database and to calibre, plus get right-click detail of selected ebook file (once added to database).
      4. UpdateFromOPF - Make changes or corrections to the Metadata (OPF) file in calibre.
      5. Batch Ebook Convert - Convert existing ebook (usually AZW3, sometimes MOBI) to EPUB and if missing, MOBI.
      6. TeraCopy Timer - Make backups locally (outside of calibre library), and to thumbstick for transfer to another PC etc.
      7. Batch Create & Run - Make passworded and zipped backups to Google Drive (locally).
      8. Add Book & All Formats To Calibre - Add one backup copy of each ebook (all formats) to calibre on another PC.
      KindEbook Wishlist
      AZWPlug
      Add Book & All Formats To Calibre
      UpdateFromOPF
      Bucket-for-URLs
      ConvertEbook
      Batch Ebook Convert
       
    • By WoodGrain
      Hi guys,
       
      I've written a script that will move my mouse to a location on the screen whenever my remote access software becomes active, the problem I have is that as soon as the remote access software becomes active it appears to capture the mouse and keyboard so nothing happens when I use MouseMove().
       
      Is there any way around this?
       
      Thanks!
    • By ur
      I have an aws cloud machine where I kept all the build process to create some set of zip files and uploading them to OneDrive.
      Once it is completed, I have another local machine in our environment which is a acting as a local share server also.
      Is there anyway to notify this machine(without public IP) to start downloading these files.
      I have written an AutoIT exe to download these files and copy them to respective locations.But don't know how to notify this from the remote machine.
       
      Any suggestion??
       
    • By Piotr_Hodl
      Hi guys,
       
      My post is more architecture related than the actual autoit script.
      Currently I have a java tool that makes a connection to a azure Windows VM using WINRM.
      Then I "grep" the session ID of RDP and using psexec I execute my autoit script on the session ID of the RDP (This assumes that I need to have already a RDP connection established).
      The script runs perfectly when I have a RDP session maximized/opened. If I minimize the RDP window some commands do not work, as for example the Send command.
      I do understand that it has to do with the window not being active, even though the script is executed remotely.
      https://www.autoitscript.com/wiki/FAQ#Why_doesn.27t_my_script_work_on_a_locked_workstation.3F
       
      My goal is to be able to run the autoit scripts with no limitations, like I was running in my local machine.
       
      One important thing, all the flow is being triggered from a linux machine with no GUI. So that is why, I am using a jar file to start the winrm connection.
       
      So to sum up:
      starting server: centos with no GUI
      remote server: azure win 10
      goal: from starting server, launch autoit script that is on remote server
       
      Thanks
      Piotr
       
       
       
    • By ur
      With  ProcessList ( ["name"] )  we are able to get the running process list from the local machine.
       
      Is there anyway to get the list from Remote machine, more precisely to get to know the status whether a particular application is running or not on remote machine using AutoIT?
       
      We can implement through PSList.exe, but again we need to parse the text of it to read the output.
      Is there any direct UDF in AutoIT?
×
×
  • Create New...