Tuesday, December 24, 2013

Windows Server 2012 R2 & HP Proliant Microserver

,
Windows Server 2012 R2 hangs on 'Getting devices ready 84%' Fails to Complete the installation on HP MicroServer Gen7 (N36L, N40L & N54L) The MicroServer N36, N40L and N54L all share the same embedded NC107i PCI Express gigabit NIC. The NC107i uses the Broadcom BCM5723 chip which doesn’t have an updated driver included with the Server 2012 R2 installation media. The lack of drivers will get you stuck at 84%... The current workaround is to disable the on-board NIC and install another card. Flash the custom BIOS to unlock the hidden BIOS screens Install...
Read more →

Thursday, December 12, 2013

Global Smartphone Sales

,
CouponAudit infographic. This Infographic is produced by Coupon Audit (provides Zappos coupon code) and VoovodeNET <br /> <br /> <br /><br /> <br /> <img style="max-width: 100%;" src="http://www.couponaudit.com/blog/wp-content/uploads/2013/11/Global-Smartphone-Sales7.jpg" alt="Global Smartphone Sales" /></p> <br /> <p> </a></p> <br /> <p> This Infographic is produced by <a href="http://www.couponaudit.com/coupons/zappos">Coupon Audit (provides Zappos coupon code) </a>...
Read more →

Friday, December 6, 2013

ITProDevConnections 2013

,
ITProDevConnections It's time to attend a conference this weekend all about technology with my friend nick. I`ll possibly stick to the networking & security area again as every year.... Hope it's gonna be good! See you on monda...
Read more →

Thursday, December 5, 2013

Administer samba shares via SWAT

,
Is it hard for you to play with smb.conf and other stuff? Are you afraid of doing any mistakes? Then you have to think about using swat, the samba web administration tool. We will first install samba, cifs-utils, swat and xinted, all needed for our SWAT installation. sudo apt-get install samba cifs-utils swat xinetd Then we will go ahead and enable swat in our internet service deamon, sudo update-inetd --enable 'swat' sudo dpkg-reconfigure xinetd after xinetd, we will create the swat service. sudo cat > /etc/xinetd.d/swat <<-EOFservice...
Read more →

How to generate entropy in few easy steps

,
You will possibly need this for a PGP key.. So how to generate entropy through a secure shell connection in an easy way? You don`t have to smash the keyboard or move the mouse and stuff... Install haveged, a simple entropy deamon. apt-get install haveged then type in -w with your bits: haveged -w 4096 Now you can re-start your PGP-key entropy gatherer in order to finish quickly, right after it's done, you might consider removing haveged as i did. apt-get remove haveged Easy ...
Read more →

Friday, November 29, 2013

Disable Automatic Private IP Addressing - APIPA

,
APIPA is Enabled APIPA sometimes is tricky, giving us IPs in a range of 169.254.0.1 to 169.254.255.254 When a DHCP server fails, APIPA gives you an IP address. The client then verify that it's address is unique on the network by using ARP queries. Whenever a DHCP server sends the DHCPOffer packet, the clients requests a dhcp lease, thus leaving the APIPA addressing. The best way to solve this is by heading to the registry editor and change a DWORD value to zero. HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\ParameteresIPAutoconfigurationEnabled:...
Read more →

Friday, November 15, 2013

Transmission deamon - 409: Conflict - Invalid session-id header

,
How to solve? Remove the default /web from your URL: http://www.example.com/transmission/web to http://www.example.com/transmissi...
Read more →

Thursday, November 14, 2013

HRESULT 0xc8000222 when trying to install any version of .netFramework

,
This will occur mostly on Windows 7, never happened on Windows 8: 'Installation Did Not Succeed' .NET Framework has not been installed because: HRESULT 0xc8000222 There is a common problem with windows update and the .netframework. We'll have to clean the SoftwareDistribution folder before we proceed.Click Start and Run: cmd This will open the well known Command Prompt, then type: net stop WuAuServ This will stop the Windows Update service. Make sure you're the admin. Click Start and Run again, this time type %windir% and press Enter. Look...
Read more →

Friday, November 8, 2013

Watch live tasks running on remote pc

,
This will work only if you have pstools installed on both of computers. @echo off set /p comp=Type IP or HOSTNAME: echo. IF "%comp%"=="" GOTO Error c:\pstools\pslist \\%comp% -s echo. pause GOTO End :Error echo No IP inserted. echo. pause :End  Save it as batch file and run ...
Read more →

Saturday, November 2, 2013

Image to disk and vice versa on unix

,
Backup all your usb drivers or your disk drivers, or clone them using dd, the ultimate tool. We will first list all our available disks, watching out not making any mistake. fdisk -l Then after the output, notice the /dev/sdA or /dev/hdA or /dev/sdB etc, take a note on what device you want to take backup from, then think about the location of it going, like a folder or in another device. if stands for input file. of stands for output file. By issueing the following command, we will backup our second drive into ~/. dd if=/dev/sdb of=~/test.img To restore...
Read more →

Saturday, October 19, 2013

Vodaphone USB Broadband on Linux

,
What you will need: usb-modeswitch-2.0.1.tar.bz2 usb_modeswitch-data libusb-1.x Right after you install those files on your linux box, append these three lines in a terminal: usb_modeswitch -WD -v 12d1 -p 1526 -n -M 555342437f0000000002000080000a11062000000000000100000000000000 -I -w 500 modprobe option echo "12d1 14cf" > /sys/bus/usb-serial/drivers/option1/new_id Open your network manager window, select Mobile Broadband, create a new connection and for connection settings leave them as default, just set the password to 1234. Plug-in your Vodafone...
Read more →

Sunday, October 6, 2013

Disable ICMP ping responces on your linux box

,
Depends on the distribution you use you may be able to disable the ping responce in your box to add some complexity for the attackers or the 'bad guys'. In the video below i am going to show you how to append such configuration in your linux distro. Disable ping reply echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all Enable ping reply echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all To make this permanent set the following into /etc/sysctl.conf net.ipv4.icmp_echo_ignore_all = 1 ICMP Message Types You can find more about ICMP here...
Read more →

Saturday, October 5, 2013

Tips on hardening an enterprise server system

,
Hardening a system is the process of making it more secure from the default configuration; it is a very important for servers. Before some time, security wasn't a primary concern, but with all the viruses and attacks on servers today, administrators need to consider about everything. Keep the system updated The risk of not being up to date is huge in the world we live on. Hundreds of vulnerabilities are being discovered day by day by security experts you should be aware of. It doesn't matter if your anti-virus is special or your firewall is wicked sick,...
Read more →

Thursday, October 3, 2013

Enable TCP SYN cookie protection on your linux server

,
Normally when a client attempts to start a TCP connection to a server, the client and server exchange a series of messages which normally runs like this: The client requests a connection by sending a SYN (synchronize) message to the server. The server acknowledges this request by sending SYN-ACK back to the client. The client responds with an ACK, and the connection is established. This is called the TCP three-way handshake, and is the foundation for every connection established using...
Read more →

Friday, September 27, 2013

VLANs vs Subnetting

,
Subnet is a range of IP addresses determined by part of an address (often called the network address) and a subnet mask (netmask). For example, if the netmask is 255.255.255.0 (or /24 for short), and the network address is 192.168.10.0, then that defines a range of IP addresses 192.168.10.0 through 192.168.10.255. Shorthand for writing that is 192.168.10.0/24, 255 is for the broadcast and 0 is for the network address. VLAN A good way to think of this is "switch partitioning." Let's say you have an 8 port switch that is VLAN-able. You can assign 4 ports...
Read more →

Friday, August 2, 2013

mesa-libgl and nvidia-libgl are in conflict error

,
pacman -Syu and.. mesa-libgl and nvidia-libgl are in conflict, Remove nvidia-libgl? [y/N] The following commands will fix it quickly: pacman -Syu --ignore mesa-libgl pacman -Sc pacman -Rs xf86-video-ati pacman -Rs ati-dri pacman -S nvidia pacman -Syu Basically you update ignoring the mesa-libgl, then purge the pkg cache, remove xf86-video-ati which is 32bit ( maybe vmware would need that at the first place ), also ati-dri, then synchronize the nvidia drivers and do a full upda...
Read more →

Monday, July 29, 2013

Cisco router - Reset config

,
Start putty & connect to the communication's port with the default rates etc.... Restart the cisco router in order to break the boot sequence of the router by tapping the Break key. breaking the boot sequence... After you broke the boot sequence, issue the following command: confreg 0x2142 "You must reset or power cycle for new config to take effect" is what you will face after the proper usage of the above command, reset by giving this: reset issuing the reset command... Now, after some time it should start booting.. It will ask you if you`d...
Read more →

Installing a LAMP server

,
LAMP is a combination of free, open source software. The acronym LAMP refers to the first letters of Linux (operating system), Apache HTTP Server, MySQL (database software), and PHP, Perl or Python, principal components to build a viable general purpose web server. Install Linux: just kidding... Install Apache: sudo apt-get install apache2 After everything is finished, fire up a browser and type: http://localhost/ you should see already a folder, if nothing is found then you have to re-install it. If you still can`t find a solution, drop a line below. Install...
Read more →

Friday, July 19, 2013

RDC authentication bypass

,
This is not a hack. Open up a command prompt and type mstsc.exe. Click on Options drop down menu to access advanced options about the connection. Save the connection settings by clicking Save As..., somewhere in your desktop. Right click this .rdp file now and open it using notepad Find authentication level:i:2 and turn it into authentication level:i:0. Add enablecredsspsupport:i:0 at the end of the text file. Then, open the rdp file which we've just edited and connect to the remote computer. If it asks you for a password, enter the password of your...
Read more →

Sunday, July 14, 2013

Reduce MTU size to accept 802.1Q or ISL

,
InterSwitchLink and 802.1Q are two different protocols for trunks between network devices, though they cause some problems when they are not configured properly... In order not to cause frame errors so packets can be accepted in the RX line, you have to reduce the MTU size if you are working with cheap equipment or non-cisco devices. I wont explain the 'how-to' because devices vary, just a reminder :...
Read more →

Wednesday, July 3, 2013

Icon not displayed correctly? Rebuild the icon cache.

,
This will work for Windows Vista, 7 or 8. This is the default location of icon cache database C:\Users\User-Name\AppData\Local\IconCache.db Fire up cmd as an Administrator and give the following commands by turn: ie4uinit.exe -ClearIconCachetaskkill /IM explorer.exe /FDEL "%localappdata%\IconCache.db" /Ashutdown /r /f /t 00 This will force the IconCache.db to rebuild.&nbs...
Read more →

Tuesday, July 2, 2013

Export - Import a DHCP database on a Windows Server

,
Moving to another server? Backing up a windows server? Here you go: 1. netsh dhcp server export c:\dhcpbackup.txt all 2. do not create a new scope in the dialogue, we're restoring a backup, remember? 3. after you disable your old dhcp server: 4. netsh dhcp server import c:\dhcpbackup.txt all Problems found: If: "An Internal Error Occurred" then: delete the following entries inside the txt before restoring: 006 DNS Server 015 DNS Domain Name ...
Read more →

Thursday, June 13, 2013

Control a windows service remotely

,
Too many standups moving inside a networking environment to control services on different windows machines. This post will show you how to control a service remotely. Let's find out what's the name of the service which we're trying to control, to do so: sc.exe \\HOSTNAME query sc.exe is a service control application included in windows to control services in a remote computer. The previous command will query the computer 'hostname' to show all of it's available services and statuses. Now, it's time to control the service: sc.exe \\HOSTNAME stop "NAMEOFSERVICE" The...
Read more →

Monday, May 20, 2013

NSS Labs tested 5 top browsers vs malware

,
As the first line of defense against malware infection, browsers must provide a strong layer of protection. NSS tested the effectiveness of five leading web browsers against 754 samples of real-world malicious software, and the results show significantly differing protection capabilities. Sou...
Read more →

Wednesday, May 15, 2013

Unable to connect to network - Rebuild the TCP/IP stack

,
There's a bug when you just connect to a network but no packets are sent, nothing is happening, you havent got an IP address and nothing seems to be working... is the NIC broken? Check below how to fully reset the TCP/IP stack in order to get some things working back again: Go SafeMode & Networking. Delete these keys from regedit: HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/WinsockHKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Winsock2 Open the nettcpip.inf file in your %winroot%/inf folder(%winroot% is usually c:/windows). Find...
Read more →

Tuesday, May 14, 2013

IPB all version - administrator account hijacking

,
Invision Power Board (abbreviated IPB, IP.Board or IP Board) is an Internet forum software produced by Invision Power Services, Inc. It is written in PHP and primarily uses MySQL as a database management system, although support for other database engines is available. While Invision Power Board is a commercially sold product, there is a large modding community and many of these modifications are free. In addition, many groups offer the download or design of free and paid skins. Required data:         1) Administrator's login name The...
Read more →

How-to remotely enable RDC in a LAN

,
Are you an administrator of a network who`d like to sit in his chair a bit longer without the disturbing movements inside that place? How about working remotely without effort? heh, enable Remote Desktop in this LAN easily: Log into a windows machine as an Administrator and start Registry Editor. Click on File menu and choose Connect to Network Registry. Type the host name of the remote computer or browse computers over the network by clicking “Advanced” button, then click ok. Find HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server. Find...
Read more →

Saturday, April 27, 2013

Mikrotik DynDNS configuration how-to

,
Mikrotik is so powerful but unfortunately it doesn't support dynamic DNS service without using a script... I had to create a full new config before some days so i was searching for the DDNS option but couldn`t find a thing. So after our dear friend google there seems to be a script to bypass this limit: # Set needed variables :local username "yourusername" :local password "yourpassword" :local hostname "yourdyndnsorgname.dyndns.org" :global systemname [/system identity get name] :if ($systemname = "Site1" ) do= { :set hostname "yourdomain1.dyndns.org" } :if...
Read more →

Tuesday, April 9, 2013

Kali linux - No action for laptop lid

,
So i was trying to figure out the actions of my laptop's lid without going in a deep mode terminal way again..., after a long search nothing seemed to be working..., tried several tools but none of them were actually changing the action of the lid. So after some days i came accross the gnome-tweak-tool which i've already used in the past and now turns out to be really helpful... apt-get install gnome-tweak-tool | gnome-tweak-tool Under Shell you should be able to find:'Laptop lid close action on battery''Laptop lid close action when on AC' Again,...
Read more →

Useful console commands for Windows

,
Here is a list of console commands for almost any version of Windows: Accessibility Options: access.cpl Add Hardware: hdwwiz.cpl Add / Remove Programs: appwiz.cpl Administrative Tools: control admintools Automatic Updates: wuaucpl.cpl Wizard file transfer Bluethooth: fsquirt Calculator: calc Certificate Manager: certmgr.msc Character: charmap Checking disk: chkdsk Manager of the album (clipboard): clipbrd Command Prompt: cmd Service components (DCOM): dcomcnfg Computer Management: compmgmt.msc DDE active sharing: ddeshare Device Manager: devmgmt.msc DirectX...
Read more →

Sunday, April 7, 2013

Backup - Restore MySQL databases easily

,
As an IT there should be enough computers running MySQL which you would like to take care or maybe advantage easier than just looking around the fs without idea... Let's say you hack into a system and all you do is their database! Hah, i am kiding, though, we would like to backup this database for security reasons.... How's the fast way? or How can we do this in a script? Below are some commands that may be handy from time to time for those who doesn't already know.. Backup MySQL Database # mysqldump -u(username) –p(password) (databasename) >...
Read more →

Saturday, March 30, 2013

Five reasons you should never work as an IT for free

,
We've all done it. A friend, a neighbor, a relative, a good client, a bad client, a pretty girl... Whoever it was, and for whatever reason, we all threw them a technological bone and fixed something for free. In rare instances, it can be a rewarding experience. Perhaps your buddy gave you a beer. Maybe someone said thank you. Maybe there was a smile on their face, and that was rewarding enough. More likely, however, that five minute task you thought you were signing up for turned into 40 minutes, then an hour, then a commitment. Wow. You didn't see that...
Read more →

Thursday, March 28, 2013

Looking for Windows Explorer tabs? Then use this

,
Clover is an extension of the Windows Explorer, to add multi-tab functionality similar to Google Chrome browser. After install Clover, you will be able to open multiple folders within the same window, and you can also add folder bookmarks. Clover can work either in XP, 7 or 8. Convenient Tab page Just remember that Ctrl + T to open the page, and Ctrl + W to close the page, Ctrl + Tab to switch pages, the work efficiency far more than doubled! Seamless integration with operating system Clover as a BHO plug-in, integrated into Windows Explorer, to keep...
Read more →

Monday, March 25, 2013

How to reduce or even remove packet loss in games

,
Back after a good day here in my soho, today i feel like posting a networking thread. So i`m gaming - anyone is gaming somehow - during a high packet loss there comes great ping - unable to play - rage! How to minimise or remove packet loss completely? There's a thing called MTU Limit which by default is set to 1500 in any system (unless jumbo frames) which is used to transfer packets across networks, actually it carries 1500 bytes of data in a single packet.  - With jumbo frames that can go up to 9000 but that's another story. So why...
Read more →

Saturday, March 16, 2013

Kali linux is here, deep penetration mode.

,
The most advanced penetration testing distribution, ever. From the creators of BackTrack comes Kali Linux, the most advanced and versatile penetration testing distribution ever created. BackTrack has grown far beyond its humble roots as a live CD and has now become a full-fledged operating system. With all this buzz, you might be asking yourself:What's new ? Grab it !...
Read more →

USB flaw could allow bypassing security controls

,
MS13-027 is rated as "important" because the attack requires physical access to the vulnerable machine. This flaw allows anyone with a USB thumb drive loaded with the payload to bypass security controls and access a vulnerable system even if AutoRun is disabled, and the screen is locked. Flaw exposes your Windows PCs to major risk. If you remember Stuxnet, worm was injected to Iran's nuclear program system using USB thumb drive. Windows typically discovers USB devices when they are inserted or when they change power sources (if they switch from plugged-in...
Read more →

Saturday, January 26, 2013

How to: Install base ArchLinux, made simple

,
**I won't describe how to boot from usb/cd - just keep using another OS mate, :p create partitions: cfdisk /dev/sda confirm partition: fdisk -l /dev/sda format partition: mkfs.ext4 /dev/sda1 -L rootfs mkswap /dev/sda2 -L swapfs mount the first partition: mount /dev/sda1 /mnt check if you have internet connectivity using dhcp: ip a ip r or else add static: ip addr add 10.0.0.10/24 dev eth0 ip route add default via 10.0.0.200 dev eth0 confirm networking: ip a ip r prepare rootfs: mkdir -pv /mnt/var/lib/pacman and install arch: mkdir -pv /mnt//var/cache/pacman/pkg/ pacman...
Read more →