Monday, 31 August 2015

URL Crawler

Welcome back from the exciting emotion filled MVA, it's amazing how singers can make come backs.

Today we decided to post a new article on how to grab URL from any Web site.

from urllib import urlopen
import re
url=www.google.com 
html=urlopen(url)
ht=html.read()
G=re.compile('href="(.*?)"')
t=G.findall(ht)
for i in t:
if len(i)<=53:
print "[+] ID FOUND:",i+'\n'
else:
continue

Hit the comment section for any inconvenience, otherwise just share, like, actually be social
--
Always smile and laugh just be happy.

Wednesday, 26 August 2015

Python Password Generator.

Today we decided to share a snippet of a code to generate passwords, the password is generated and stored in a database.
This code is complete without dependences, you can modify it to make it more secure and portable, for example encrypt the database just like WhatsApp does, create a front end for reading and writing information from and to the database.

Enough of the mambo jambo here is the code:

# -*- coding: utf-8 -*-
#Python 2.5
import sqlite3 as lite
import datetime
import string
from random import *
print "*"*20,"Password Database","*"*20
site=raw_input("Url of website: ")
username=raw_input("your username: ")
date= datetime.date.today()
characters = string.ascii_letters + string.digits
password = "".join(choice(characters) for x in range(randint(10,16)))
leng=len(password)
con = lite.connect('test.sqlite') # connect to the database
cur = con.cursor()
cur.execute("CREATE TABLE IF NOT EXISTS pasw(site text,username text, password text, date timestamp)") #Create the table and column if it does not exist
cur.execute("INSERT INTO pasw(site,username,password,date) VALUES (?,?,?,?)",(site,username,password,date)) #insert the values
con.commit()
print "Changes saved successfully"
print "Database was Closed Successfully"
print
print "*"*30
print "Displaying Your database Details"
print "*"*30
print
for row in cur.execute("select * from pasw"):
print row[3],row[0],row[1],row[2]
con.close()

Don't forget to comment and share as it's important to us to serve you better.

Monday, 17 August 2015

Google is playing while Facebook hides.

It's now a week since Google was taken or can we theoretically say bought by Alphabet, which actually makes more sense than we first thought.
In practice the company remains the same except that the original owners moved above the board and bought the company after creating a new company. Implying that technically it's new wine in old bottles which gives Larry Page more power to buy a diversity of companies and also diverse Alphabet;after all that is what the alphabet is about (diversity of letters to mean various things)

Mean while inside closed space our favourite social media site Facebook just fired one of their favourite summer intern. The same intern who discovered that your beloved messenger was leaking you precise location to Facebook, the location leakage was so precise to exactly one meter much better than Google maps.

You should realise that Facebook is hiding a lot in the closet and it's only after you start closely monitoring the app that you realise that you data is important. Facebook access your phone call log during and after the call. There is a difference between contact list and call logs, remember that.

So Facebook fired him and asked him to "deactivate" his program. Which he did.
The good news is that the feature is now disabled. The bad news is who ever has to your messages sent via messenger can draw a neat map of all your movements and location.

If you thought your safe and secure while using Facebook please rest assured today that your the most unsecured user, unless you changed a lot of Facebook settings, your information can be plotted on white pages complete with your latest location, it gets crappie if you are in many Facebook groups where you freely share your number and email addresses.

Else where windows 10 is still rocking sales with over 70M sales despite the fact that your privacy is highly bleached even after lengthy configurations and customisations. On the bright side owning windows 10 is worth your cash. Imagine a windows OS with the beauty of windows 8, elegance of windows 7 minus the bugs and nagging experiences of windows 8, that is windows 10.