Skip to main content

Posts

Update & Upgrade Kali Linux

Execute the following commands in Terminal    apt-get update apt-get upgrade apt-get dist-upgrade
Recent posts

How to Update Burp Suite in Kali Linux

Download the latest Jar file Navigate to /usr/bin and rename burpsuite to burpsuite(old) Copy the jar that was just downloaded into /usr/bin Right-click and rename the jar to burpsuite , and Allow executing file as program Upon successful launch, you can delete burpsuite(old) from /usr/bin.

Install Grub Customizer in Debian based OS

Always we are looking to customize the boot menu, boot order, boot background image and changing the font & color. These things can be achieved by Grub Cusomizer in Linux. Follow the below steps to install latest version of Grub Cusomizer into Debian based OS (Kali, Parrot) Open the terminal, execute the following commands in order. 1. su - 2. apt-get install build-essential cmake libgtkmm-3.0-dev libssl-dev gettext libarchive-dev  3. wget https://launchpad.net/grub-customizer/5.0/5.0.6/+download/grub-customizer_5.0.6.tar.gz 4. tar xfv grub-customi*  5. cd grub-customizer-5.0.6 6. cmake . && make -j3  7. make install More information, Visit Grub Customizer site - https://launchpad.net/grub-customizer

Secure Webservice - Restrict remote machine access

A lways we are looking to secure our application and services, in this part am sharing few simple way to secure web service. Suppose you want to invoke web service in local machine and hide the invoke section in remote machine that case you could do enable the following properties in web.config file. <webServices>     <protocols>         <add name = "HttpGet" />         <add name = "HttpPost" />     </protocols> </webServices> Adding HttpGet and HttpPost in web.config to make your web service in invoke only in local machine.  Suppose want to show custom splash page or helper page, whenever accessing the web service landing page (.asmx). The following code helps to accomplish <system.web>     <webServices>              <wsdlHelpGenerator href="spl...

Compress folder in C#

In .NET earlier version, we used to depends on third party dll to generate the compressed files in .zip format. Suppose we have to compress multiple folders, then have to compress each and every folders and files. In .NET framework 4.5 introduced ZipFile class. It helps to compress the folders by one line. ZipFile.CreateFromDirectory(startPath, zipPath); StartPath - Source directory ZipPath - Compressed file. Alternatively you could extract the compressed files by         ZipFile.ExtractToDirectory(zipPath, extractPath); more details, click here

ATLAS Toolkit throwing Unknown Error

Recently deploying old ASP.NET application into Windows server 2012 we faced Unknown error popup box error. In application used ATLAS toolkit to perform async operation. After deploying the application, We are getting unknown error (popup box) whenever visiting the ATLAS controls page. To resolve this error added the following meta tag in header section of each web page. Otherwise we could add into master page level instead of page level <meta http-equiv="X-UA-Compatible" content="IE=7" /> This code resolved the error in local environment, but still it throws error after deploying the application in server. To resolve the error in server, go to IIS, change application pool pipeline from Integrated to Classic mode. That's it.

Automatically taking VSS backup using batch file

To take VSS backup automatically using batch file. 1. Creating folder name with Current date 2. Taking VSS backup using ssarc command @ECHO OFF @TITLE Backing up source safe databases FOR /F "tokens=2-4 delims=/" %%i IN (’date /t') DO SET DATE=%%i_%%j_%%k mkdir  D:\VSS\Backup\%DATE% "D:\Program Files (x86)/Microsoft Visual SourceSafe\ssarc" -D- -I- D:\VSS\Backup\%DATE%\application.ssa $/SourceSafe/application