Posts

Showing posts from November, 2020

Pendrive showing less storage ? Only few MB or GB available to use ? Pendrive corrupt fix

Image
  Pendrive showing less storage ? Only few MB or GB available to use ? This article will help you fix the issue.     I first ran into this problem when I was creating a windows 10 bootable pendrive. I had a pendrive of 8 gb of which only 2.75 gb is usable. Here’s a fix : We need to open disk management tool You can right click on the windows icon on bottom right and select disk management OR Open control panel > Administrative tools > Computer management > Disk management OR Search for disk management and select Create and delete hard disk partition. Here we can see the actual storage of the drive as well as all available partitions.   My pendrive was divided into 3 partitions of which 4.74GB space was unallocated. which means 4.74GB of space is wasted that too for nothing. We need to delete all this partitions and combine it to a single 7.(something) GB partition For that we will use diskpart tool of windows. (You can delete...

Android WebView not loading website properly (AJAX Website)

Image
    In this article I will explain how to fix the issue with android WebView not loading page properly /   dynamic AJAX content not displayed. Hate reading ? I have made video for this article. Watch here :  Here’s how I ran into the problem I was developing an application for a client and there were some WebViews used to load some webpage. There was a webpage that had some dynamic content loaded via AJAX. The webpage was loading but the dynamic content was not displayed. It took almost one whole night to figure out and fix the problem Here’s how I fixed it We need to add a property to WebView to enable domStorage   Code: Even after doing that the webpage was not displayed properly. The problem was that the website was using custom scrollbar (I didn’t develop the website so I had no idea) WebView’s height was set to wrap_content we need to change it to match_parent Code: After making these two changes WebView will be displayed properly. I hope t...

Buffler overflow example using C language

Image
  Aim : To understand buffer overflow and exploit a c code Things you will need : VM software(Virtual Box / VM Ware) Kali linux 32 bit Procedure : Let me break the procedure for your better understanding (Watch video linked to this tutorial for better understanding): 1.        Write / Copy C program 2.        Compile the program 3.        Execute the program 4.        Testing the program 5.        Disassemble the program 6.        Hack the program Buffer overflow is an anomaly that occurs when software writing data to a buffer overflows the buffer’s capacity, resulting in adjacent memory locations being overwritten. In other words, too much information is being passed into a container that does not have enough space, and that information ends up replacing data in adjacent c...