Author Archives: Yakup Korkmaz

Installing Numpy on Windows 7 / 8 with Python 2.7 (Unable to find vcvarsall.bat)

Installing Numpy is as easy as running the command below: pip install numpy However, If you don’t have a C/C++ compiler installed, you can get the following error while you are trying to install Numpy on Windows 7 or 8.1: … Continue reading

Posted in Data Analysis, Machine Learning, Python | Tagged , , | Leave a comment

MongoDB – PyMongo error while connecting to a remote server: [Errno 111] Connection refused

If you are trying to connect a remote server (e.g. Linux Ubuntu) via PyMongo, it is probable that you get an error as below: pymongo.errors.ConnectionFailure: [Errno 111] Connection refused In order to resolve this issue, you need to enable external … Continue reading

Posted in Data Analysis, Linux | Tagged , , , , | Leave a comment

How to back up indexed data or change default database location in Splunk

In Splunk, data is indexed into database directories called buckets. Indexed data is transferred from one type of bucket to another as it ages. Below types of buckets are listed: Bucket type Information Default location Hot bucket Currently being written … Continue reading

Posted in Data Analysis | Tagged , , , | Leave a comment

How to set your VM to auto start at system startup in VirtualBox 4.2 on Ubuntu 12.04

There is a handy feature in VirtualBox 4.2 that lets you configure your VM to be automatically started every time system starts up. Below you can find the steps needed to configure your VirtualBox installation to achieve that on Ubuntu … Continue reading

Posted in Linux, Virtualization | Tagged , , , | 10 Comments

Shrink/reduce size of WinSxS folder on Windows 7 and gain gigabytes of free space

WinSxS folder contains a copy of protected system files and DLLs. Windows Resource Protection mechanism checks the integrity of the protected system files periodically and  re-installs any protected file from this folder if its integrity could not be verified due … Continue reading

Posted in Windows Security | Tagged , , | 1 Comment

Installing VirtualBox (4.2) and phpVirtualBox (4.2.4) on headless Ubuntu Server (12.04 LTS)

Ubuntu 12.04 LTS Server is a headless server and does not have X-Window, therefore phpVirtualBox is needed to manage VirtualBox. There are two steps covered here in this post; one for instaling Virtualbox 4.2.4 and the other one for installing … Continue reading

Posted in Linux, Virtualization | Tagged , , , , | Leave a comment

Virtualbox – VBoxManage: error: Adding machine ‘Ubuntu-VM’ to the autostart database failed with VERR_ACCESS_DENIED

In Ubuntu 12.04 LTS, I tried to configure Virtualbox 4.2 to start my VM automatically when the system starts up. However, I got an error message as below after following the instructions in chapter 9.24.1 in Virtualbox User Manual: VBoxManage: … Continue reading

Posted in Linux, Virtualization | Tagged , | 3 Comments

How to remove administrative shares in Windows XP, Vista and 7

In order to remove administrative shares in Windows, add the following two registry keys to the registry. To remove administrative shares for local administrator accounts, add the following key to the specified location; Hive: HKEY_LOCAL_MACHINE\ Key: SYSTEM\CurrentControlSet\Services\LanManServer\Parameters Name: AutoShareWks Type: … Continue reading

Posted in Windows Security | Tagged , | Leave a comment

Installing Python Pefile and UPX on Amazon Linux AMI (Especially for SET)

If your application (e.g. SET) requires python pefile or UPX, you can not install them easily using Yum package manager on Amazon Linux AMI because Amazon’s default repositories do not contain these packages. However, you can install them as described … Continue reading

Posted in Bulut Bilişim - Cloud Computing, Linux, Penetration Testing | Tagged , , , | Leave a comment