Author Archives: Silver Moon

About Silver Moon

A Tech Enthusiast, Blogger, Linux Fan and a Software Developer. Writes about Computer hardware, Linux and Open Source software and coding in Python, Php and Javascript. He can be reached at [email protected].

Install Tor, Vidalia and Polipo on Ubuntu

By | August 24, 2012

TOR is an anonymity solution that can be used as a proxy over the internet. Project website Install on Ubuntu $ sudo apt-get install tor vidalia During the installation a configuration screen will come up, asking to select those users who would be using tor. Select the appropriate users on that page and continue. After… Read More »

View sqlite database files with sqlitebrowser on ubuntu

By | August 10, 2012

SQLite Database Browser is a freeware, public domain, open source visual tool used to create, design and edit database files compatible with SQLite. It is meant to be used for users and developers that want to create databases, edit and search data using a familiar spreadsheet-like interface, without the need to learn complicated SQL commands…. Read More »

Using sqlmap with login forms

By | April 15, 2013

In a previous article we saw how to use sqlmap to exploit vulnerable urls of the form http://www.site.com/section.php?id=59 where the id parameter for example is vulnerable to sql injection. Now we shall try to do the same thing with forms, especially login forms. Forms often submit data via post, so the sytanx for launching the… Read More »

Php : Get links on a page with DomDocument

By | September 1, 2023

Scraper scripts often need to extract all links on a given page. This can be done in a number of ways like regex, domdocument etc. Here is simple code snippet to do this using domdocument. /* Function to get all links on a certain url using the DomDocument */ function get_links($link) { //return array $ret… Read More »

Best puzzle solving games for ubuntu

By | May 15, 2023

Here is a list of most popular puzzle games on Ubuntu Linux Marble Arena 2 Excellent graphics and colorful. This is a game where a marble is to be moved around and points to be collected. Project website http://www.marble-arena.com/ Install on ubuntu 1. Download Linux version from http://www.marble-arena.com/ 2. Install libwebkit1.1-cil from synaptic 3. Extract… Read More »

Java socket programming Tutorial – How to code Client and Server

By | August 5, 2020

Socket programming in Java This is a quick guide/tutorial to learning socket programming in Java. The Socket class is documented at http://docs.oracle.com/javase/1.4.2/docs/api/java/net/Socket.html To summarise the basics, sockets are the fundamental “things” behind any kind of network communications done by your computer. For example when you type www.google.com in your web browser, it opens a socket… Read More »

Best php ide and web development tools on ubuntu

By | May 10, 2020

There are a lot of IDEs for ubuntu for doing php related web development. Lets see a few. Aptana Studio Supports PHP, Ruby, Python and more. Autosuggest dropdowns available, Integrated preview available. Project website http://www.aptana.com/ Install on ubuntu Download from http://www.aptana.com/ Quanta Quanta is the Dreamweaver of Linux. However it is not developed anymore. As… Read More »

3 ways to serialize variables in php

By | July 14, 2012

The idea behind serializing a variable is to create a storable string format of it, such that the same variable can be recreated later when required using the string. 1. serialize and unserialize These are the traditional functions to serialize and unserialize data in PHP. $a = array('a' => 'Apple' ,'b' => 'banana' , 'c'… Read More »

PHP : Add Login with Github to your website

By | May 9, 2020

Github Login Github has become a very popular social login on websites related to programming and development. Github itself is a big storehouse of opensource projects and community of developers. Github oAuth documentation can be found at http://developer.github.com/v3/oauth/. Register website with Github oAuth The first thing to do would be to register your website with… Read More »