<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>overrwrite Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/overrwrite/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Fri, 18 Oct 2019 00:58:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>Overwrite in Windows 10. A program that overwrites empty space on the disk.</title>
		<link>https://www.osradar.com/overwrite-in-windows-10-a-program-that-overwrites-empty-space-on-the-disk/</link>
					<comments>https://www.osradar.com/overwrite-in-windows-10-a-program-that-overwrites-empty-space-on-the-disk/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Fri, 18 Oct 2019 00:58:24 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[compilation]]></category>
		<category><![CDATA[compiler]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[overrwrite]]></category>
		<category><![CDATA[visual studio code]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=14745</guid>

					<description><![CDATA[<p>Hello, I hope you&#8217;re all right! Today we are going to talk about security. Specifically we&#8217;ll see about hard disk space. The white space inside them contains sensitive information that can be recovered later putting our security and privacy at risk. This happens because every time we erase information or even format a disk, it [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/overwrite-in-windows-10-a-program-that-overwrites-empty-space-on-the-disk/">Overwrite in Windows 10. A program that overwrites empty space on the disk.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello, I hope you&#8217;re all right! Today we are going to talk about security. Specifically we&#8217;ll see about hard disk space. The white space inside them contains sensitive information that can be recovered later putting our security and privacy at risk. This happens because every time we erase information or even format a disk, it is not completely erased, but remains potentially unaltered. In other words, the empty space on hard drives on Windows or any SO doesn&#8217;t stay that way. For that reason, the information can be retrieved later. </p>



<p>So imagine for a moment that you lose access to your hard drive. All your personal information could be exposed, even if you took the precaution of deleting it. Sounds a little scary, doesn&#8217;t it? However, they have just released a program whose main function is to overwrite the blank space you have on a hard drive. In this way, the information really remains blank, making it impossible to recover it later. In fact, the name of the program is <a rel="noreferrer noopener" aria-label="Overwrite (opens in a new tab)" href="https://ivoprogram.github.io/content/en/index.html?content=overwrite.html&amp;fbclid=IwAR1Fd9p2yO9ILS66eugwUk_Ba28JcOGwoHGltq1_iQ0YTEpwwJL0Ro0-Acw" target="_blank">Overwrite</a>. A very interesting tool. So here we show you how to install Overwrite for the empty space of the disks in Windows 10.</p>



<h2>Compiling Overwrite with Visual Studio Code</h2>



<p>Overwrite is a program written in C language, which is contained in a single file. It can be compiled on different platforms, but here we are going to compile for Windows 10. With that in mind, we are going to use Visual Studio Code. To know how to install it please check our <a rel="noreferrer noopener" aria-label="post (opens in a new tab)" href="https://www.osradar.com/how-to-install-and-configure-visual-studio-code-in-windows-10/" target="_blank">post</a>. In the same way, we&#8217;ll need a C/C++ Compiler, for this example I&#8217;m going to use MinGW. The installation process is simple, just go to this address and download the <a href="https://sourceforge.net/projects/mingw/files/">installer</a>.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/over-1024x728.jpg" alt="Download MinGW for Windows " class="wp-image-14747" srcset="https://www.osradar.com/wp-content/uploads/2019/10/over.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/10/over-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/over-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/over-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/10/over-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/over-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Download MinGW for Windows </figcaption></figure>



<p>Then double click on the installer. When the wizard starts, select all the options for a basic installation. Next, wait for the wizard to download all the necessary files and proceed to install them. This will take a few minutes, depending on your internet connection.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/over2-1024x728.jpg" alt="Installing MinGW for Windows" class="wp-image-14749" srcset="https://www.osradar.com/wp-content/uploads/2019/10/over2.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/10/over2-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/over2-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/over2-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/10/over2-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/over2-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Installing MinGW for Windows</figcaption></figure>



<h2>Add MinGW to the environment variables.</h2>



<p>Next, we&#8217;ll add the compiler to the Windows environment variables. This is very important because it will allow you to compile from any CMD without going to the address of the program. Also, the Run Code extension of the editor uses the command prompt of Windows to run the compiler. To find out how to do this, I invite you to check out our post about <a rel="noreferrer noopener" aria-label="Wget (opens in a new tab)" href="https://www.osradar.com/how-to-install-wget-in-windows-10/" target="_blank">Wget</a> in Windows 10. Here I simply show you the already added variable:</p>



<figure class="wp-block-image"><img loading="lazy" width="526" height="500" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/over3.jpg" alt="Adding MinGW environment variable" class="wp-image-14751" srcset="https://www.osradar.com/wp-content/uploads/2019/10/over3.jpg 526w, https://www.osradar.com/wp-content/uploads/2019/10/over3-300x285.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/over3-442x420.jpg 442w" sizes="(max-width: 526px) 100vw, 526px" /><figcaption>Adding MinGW environment variable</figcaption></figure>



<p>to check that everything has been installed correctly, please press the &#8220;Win+R&#8221; combination, and run CMD to open a Command Pro.</p>



<figure class="wp-block-image"><img loading="lazy" width="402" height="210" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/over4.jpg" alt="Run a cmd" class="wp-image-14753" srcset="https://www.osradar.com/wp-content/uploads/2019/10/over4.jpg 402w, https://www.osradar.com/wp-content/uploads/2019/10/over4-300x157.jpg 300w" sizes="(max-width: 402px) 100vw, 402px" /><figcaption>Run a cmd</figcaption></figure>



<p>In the command prompt please type the following command:</p>



<pre class="wp-block-preformatted">gcc</pre>



<figure class="wp-block-image"><img loading="lazy" width="979" height="512" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/over5.jpg" alt="Running MinGW compiler" class="wp-image-14754" srcset="https://www.osradar.com/wp-content/uploads/2019/10/over5.jpg 979w, https://www.osradar.com/wp-content/uploads/2019/10/over5-300x157.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/over5-768x402.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/over5-696x364.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/over5-803x420.jpg 803w" sizes="(max-width: 979px) 100vw, 979px" /><figcaption>Running MinGW compiler</figcaption></figure>



<p>If running the command throws the error that there are no input files, then we are ready to move on. </p>



<h2>Install the extensions in Visual Studio Code.</h2>



<p>Now we need to add the necessary extensions to compile in C in Visual Studio Code. With this in mind, open the program. And in the Marketplace write C++ and Code Runner, and proceed to download and install them.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/over7-1-1024x728.jpg" alt="Adding the necessary extensions" class="wp-image-14756" srcset="https://www.osradar.com/wp-content/uploads/2019/10/over7-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/10/over7-1-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/over7-1-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/over7-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/10/over7-1-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/over7-1-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Adding the necessary extensions</figcaption></figure>



<p>All right, we&#8217;re ready to compile the program. The first thing we need to do is to download the package from <a href="https://github.com/ivoprogram/overwrite" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a></p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/over8-1024x728.jpg" alt="Download Overwrite program" class="wp-image-14757" srcset="https://www.osradar.com/wp-content/uploads/2019/10/over8.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/10/over8-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/over8-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/over8-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/10/over8-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/over8-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Download Overwrite program</figcaption></figure>



<p>Once downloaded, please remember the location of the download and open Visual Studio Code. Once there, in the left column in Explore, locate the folder where you downloaded the program and click on overwrite.c. Then on the menu on the right press Run.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/over6-1024x728.jpg" alt="Overwrite finally compiled" class="wp-image-14758" srcset="https://www.osradar.com/wp-content/uploads/2019/10/over6.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/10/over6-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/over6-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/over6-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/10/over6-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/over6-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Overwrite finally compiled</figcaption></figure>



<h2>Testing Overwrite</h2>



<p>Finally, we have compiled Overwrite, as you can see in the previous screen, there is already an executable file for windows. However, this program does not have a graphical interface but must be executed in a CMD. In addition, it is necessary to open a Command Prompt at the location of the program. To avoid this complication, we will add the environment variable.</p>



<figure class="wp-block-image"><img loading="lazy" width="527" height="501" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/over9.jpg" alt="Adding environment variable" class="wp-image-14759" srcset="https://www.osradar.com/wp-content/uploads/2019/10/over9.jpg 527w, https://www.osradar.com/wp-content/uploads/2019/10/over9-300x285.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/over9-442x420.jpg 442w" sizes="(max-width: 527px) 100vw, 527px" /><figcaption>Adding environment variable</figcaption></figure>



<p>Uses of Overwrite</p>



<pre class="wp-block-preformatted">overwrite [-h -v -test -one -rand -block:] (-files: &amp;| -data:) -path: 
-h             Print help and usage message. 
-v             Print program version. 
-test          For test, don't delete written files. 
-one           Overwrite with 1, default with 0. 
-rand          Overwrite with random data, default with 0. 
-block         Block size, default 4096 bytes as NTFS and EXT4. 
-files         Number of files to write, block size each. 
-data          Quantity of data to write, ex: 1mb, 1gb, all. 
-path          Path to directory where to write data. </pre>



<p>Let&#8217;s use a practical example. Write 10 files and 10Mb data, on Windows C drive.</p>



<pre class="wp-block-preformatted"> overwrite -files:10 -data:10mb -path:c:\ </pre>



<figure class="wp-block-image"><img loading="lazy" width="979" height="512" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/over10.jpg" alt="Running Overwrite in Windows 10" class="wp-image-14760" srcset="https://www.osradar.com/wp-content/uploads/2019/10/over10.jpg 979w, https://www.osradar.com/wp-content/uploads/2019/10/over10-300x157.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/over10-768x402.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/over10-696x364.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/over10-803x420.jpg 803w" sizes="(max-width: 979px) 100vw, 979px" /><figcaption>Running Overwrite in Windows 10</figcaption></figure>



<p>Obviously, there are several commands we can use to run the tool. Very well, we have learned how to install Overwrite for the empty space of the disks in Windows 10. And also, we have seen how to compile C in Visual Studio Code. I hope you enjoyed this tutorial as much as I did. See you next time.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/overwrite-in-windows-10-a-program-that-overwrites-empty-space-on-the-disk/">Overwrite in Windows 10. A program that overwrites empty space on the disk.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/overwrite-in-windows-10-a-program-that-overwrites-empty-space-on-the-disk/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
