Deploying AcuSensor for ASP .NET

🔍 AcuSensor Network PreRequisites

AcuSensor makes use of the AcuSensor Bridge. Read more information here.

Deploying AcuSensor for ASP .NET websites

First, you need to download the AcuSensor agent for your Target.

The AcuSensor agent will need to be deployed to your web application. This section describes how to deploy AcuSensor to an ASP.NET (including .NET core) web application.

  • Install Prerequisites on the server hosting the website (The AcuSensor Injector.exe application requires Microsoft .NET Framework 3.5 or higher)
  • Copy the AcuSensor installation file dotnet-acusensor.zip to the server hosting the .NET website
  • Extract the dotner-acusensor.zip file and launch the Injector.exe file

  • On start-up, the Injector will retrieve a list of .NET applications installed on your server. Select which applications you would like to enhance with the AcuSensor Technology and click Install Sensor to install the AcuSensor Technology sensor in the selected .NET applications.

  • Once the sensor has been installed, close the confirmation window and also the AcuSensor manager.

Disabling and Removing AcuSensor for ASP .NET websites

To remove and disable the sensor from your website:

  • Launch Injector.exe


  • Select the website where the AcuSensor agent is deployed and click Remove Sensor to remove the AcuSensor agent from the site
  • Close the Injector.exe application

Deploying and Removing AcuSensor using the command line

After copying and extracting the dotnet-acusensor.zip file to the server hosting the .NET website, you can deploy and remove the AcuSensor agent to your web application, and also list available web applications, as follows:

C:\Users\Administrator\Desktop\dotnet-acusensor>injector -m inject -t http://localhost:86/yaf_forums

Target Found. Injecting sensor to: http://localhost:86/yaf_forums

C:\Users\Administrator\Desktop\dotnet-acusensor>injector -m uninject -t http://localhost:86/yaf_forums

Target Found. Uninjecting sensor from: http://localhost:86/yaf_forums

C:\Users\Administrator\Desktop\dotnet-acusensor>injector -m list -t http://localhost:86/yaf_forums

http://localhost:86/

http://localhost:86/yaf_forums

http://localhost:86/kartris

http://localhost:86/bugnet

C:\Users\Administrator\Desktop\dotnet-acusensor>

  • The -m switch can be:
  • inject - to inject the AcuSensor agent into a web application
  • uninject - to remove the AcuSensor agent from a web application
  • list - to list the web application on the web server
  • The -t switch should specify the URL for which you wish to inject or remove the AcuSensor agent

Note: If the web application is at the root of a URL path, you MUST include a forward slash at the end of the URL (in this example, http://localhost:86/); if the web application is in a subfolder, you MUST NOT include a forward slash at the end of the URL (in this example, http://localhost:86/yaf_forums)

Note: Although the Acunetix AcuSensor agent is secured with a strong password, it is recommended that the AcuSensor agent files are uninstalled and removed from the web application if they are no longer in use.

 

« Back to the Acunetix Support Page