Category: Programming

Convert pkcs12 key to bks format for Android

0 Comment

Dear Reader, If you ever want to convert a pkcs12 format key to bks format for Android follow the below instructions. First of all downlaod bcprov-jdk16-1.46.jar file [root@itpings certs]# wget http://repo1.maven.org/maven2/org/bouncycastle/bcprov-jdk16/1.46/bcprov-jdk16-1.46.jar –2017-06-30 17:05:40– http://repo1.maven.org/maven2/org/bouncycastle/bcprov-jdk16/1.46/bcprov-jdk16-1.46.jar Resolving repo1.maven.org (repo1.maven.org)… 151.101.32.209 Connecting to repo1.maven.org (repo1.maven.org)|151.101.32.209|:80… connected. HTTP request sent, awaiting response… 200 OK Length: 1876535 (1.8M) [application/java-archive] Saving […]

Tags: , , , , ,

Python for Linux Admins – Part V

0 Comment

In fifth part of our Python blog entry i will write my own script. This script will provide us with the port information of any Linux service. Also you will see a touch of socket programming in python. Enjoy ! I have named this script as porter.

Tags: , ,

Python for Linux Admins – IV

0 Comment

Simple Python Script which will show linux logs (dmesg and lastlog) from selection. #!/usr/bin/env python import os os.system (‘clear’) print “Pylog Created by Hyp3ri0n” print “Version 0.1” print “Respect Linux…………….” print “=” * 50 print ” ” value = 1 value2 = 2 answer = int(input (“Enter the Value 1 or 2: “) if answer […]

Tags: , ,

Python for Linux Admins – III

0 Comment

The IF & ELIF Statement Let’s Write Our First Program using if and elif statement. Open Vi editior as # vi pyif.py and Start Typing the below code:

Tags: , ,

Python for Linux Admins -II

0 Comment

In this part we will continue our journey with Python. Note that every thing in Python is an Object and it has a unique id and it has a type e.g >>> x = 2 >>> id(x) 505498008

Tags: , ,

Learning Python

0 Comment

They Article is a quick Python Learning guide so hang onto your seat belts and ride along !! PYTHON In Linux type python and it will start python. >>> is the python prompt

Tags: , , ,