Skip to content

Commit ffe7fca

Browse files
mannu shell jump tester
1 parent f72399b commit ffe7fca

File tree

3 files changed

+189
-0
lines changed

3 files changed

+189
-0
lines changed

mannu-shell-jump-test-code/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# mannu-shell-jump-tester is the php code which check user directory for read permission for other user group hosted in shared environment in cpanel based server
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/python
2+
import os, sys,re
3+
4+
5+
o = open('/etc/passwd','r')
6+
banner = '<title>--==[[ With Love From ICA]]==--</title><div align=center><font size=6 color=#ff9933>Mannu, Directory jump tester by Team INDISHELL</font><br><font color=#ff9933> ##########################################</font><font color=white>#############################################</font><font color=green>#############################################</font><br><font color=white> --==[[Greetz to]]==--</font><br> <font color=#ff9933>Guru ji zero ,code breaker ica, root_devil, google_warrior,INX_r0ot,Darkwolf indishell,Baba ,Silent poison India,Magnum sniper,ethicalnoob Indishell,Local root indishell,Irfninja indishell<br>Reborn India,L0rd Crus4d3r,cool toad,Hackuin,Alicks,Gujjar PCP,Bikash,Dinelson Amine,Th3 D3str0yer,SKSking,rad paul,Godzila,mike waals,zoo zoo,cyber warrior,Neo hacker ICA<br>cyber gladiator,7he Cre4t0r,Cyber Ace, Golden boy INDIA,Ketan Singh,Yash,Aneesh Dogra,AR AR,saad abbasi,hero,Minhal Mehdi ,Raj bhai ji , Hacking queen ,lovetherisk and rest of TEAM INDISHELL<br><font color=white>--==[[Love to]]==--</font><br># My Father , my Ex Teacher,cold fire hacker,Mannu, ViKi,Jagriti,Suriya Cyber Tyson ,Ashu bhai ji,Soldier Of God,Shafoon,Rehan Manzoor,almas malik, Bhuppi,Mohit, Ffe ^_^,Govind Singh,Shardhanand ,Budhaoo,Don(Deepika kaushik) <br><font color=white>--==[[Interface Desgined By]]==--</font><br><font color=red>GCE College ke DON :D</font> <br></font> <b> <font color=#ff9933> ##########################################</font><font color=white>#############################################</font><font color=green>#############################################</font><body bgcolor=black><br><font size=5 color=#ff9933><b>List of poor billu\'s goes here >:D< </b></font><br><img src="http://www.freesmileys.org/smileys/smiley-cool21.gif"> <font size=3 color=white>--==[[ code for India,Hack for India,Die for India ]]==-- </font><img src="http://www.freesmileys.org/smileys/smiley-flag010.gif"> </div><table>'
7+
target=open("ica.html","w")
8+
target.write(banner)
9+
10+
for rr in o:
11+
t=rr.split(":")[0]
12+
# print t
13+
fp="/home/"+t+"/public_html/"
14+
ret = os.access(fp, os.R_OK)
15+
if(ret==True):
16+
# print "This billu is poor guy :v and directory is --> "+fp
17+
target.write("<tr><td style=font-family:calibri;color:white;>%s</td>"%(fp))

mannu-shell-jump-test-code/tester.php

+171
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,171 @@
1+
<?php session_start();
2+
error_reporting(0);
3+
4+
$head = '
5+
<html>
6+
<head>
7+
<link href="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTLfLXmLeMSTt0jOXREfgvdp8IYWnE9_t49PpAiJNvwHTqnKkL4" rel="icon" type="image/x-icon"/>
8+
</script>
9+
<title>--==[[Mannu Sh3LL]]==--</title>
10+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
11+
12+
<STYLE>
13+
body {
14+
font-family: Tahoma;
15+
color: white;
16+
background: black;
17+
}
18+
19+
input {
20+
border : solid 2px ;
21+
border-color : black;
22+
BACKGROUND-COLOR: #444444;
23+
font: 8pt Verdana;
24+
25+
color: white;
26+
}
27+
28+
submit {
29+
BORDER: buttonhighlight 2px outset;
30+
BACKGROUND-COLOR: Black;
31+
width: 30%;
32+
color: #FFF;
33+
}
34+
35+
#t input[type=\'submit\']{
36+
COLOR: White;
37+
border:none;
38+
BACKGROUND-COLOR: black;
39+
}
40+
41+
#t input[type=\'submit\']:hover {
42+
43+
BACKGROUND-COLOR: #ff9933;
44+
color: black;
45+
46+
}
47+
tr {
48+
BORDER: dashed 1px #333;
49+
color: #FFF;
50+
}
51+
td {
52+
BORDER: dashed 0px ;
53+
}
54+
.table1 {
55+
BORDER: 0px Black;
56+
BACKGROUND-COLOR: Black;
57+
color: #FFF;
58+
}
59+
.td1 {
60+
BORDER: 0px;
61+
BORDER-COLOR: #333333;
62+
font: 7pt Verdana;
63+
color: Green;
64+
}
65+
.tr1 {
66+
BORDER: 0px;
67+
BORDER-COLOR: #333333;
68+
color: #FFF;
69+
}
70+
table {
71+
BORDER: dashed 2px #333;
72+
BORDER-COLOR: #333333;
73+
BACKGROUND-COLOR: #191919;;
74+
color: #FFF;
75+
}
76+
textarea {
77+
border : dashed 2px #333;
78+
BACKGROUND-COLOR: Black;
79+
font: Fixedsys bold;
80+
color: #999;
81+
}
82+
A:link {
83+
border: 1px;
84+
COLOR: red; TEXT-DECORATION: none
85+
}
86+
A:visited {
87+
COLOR: red; TEXT-DECORATION: none
88+
}
89+
A:hover {
90+
color: White; TEXT-DECORATION: none
91+
}
92+
A:active {
93+
color: white; TEXT-DECORATION: none
94+
}
95+
</STYLE>
96+
<script type="text/javascript">
97+
<!--
98+
function lhook(id) {
99+
var e = document.getElementById(id);
100+
if(e.style.display == \'block\')
101+
e.style.display = \'none\';
102+
else
103+
e.style.display = \'block\';
104+
}
105+
//-->
106+
</script>
107+
';
108+
109+
110+
111+
echo $head ;
112+
echo '
113+
114+
<table width="100%" cellspacing="0" cellpadding="0" class="tb1" >
115+
116+
117+
118+
<td width="100%" align=center valign="top" rowspan="1">
119+
<font color=#ff9933 size=5 face="comic sans ms"><b>--==[[ Mannu </font><font color=white size=5 face="comic sans ms"><b>, directory jump tester By Team </font><font color=green size=5 face="comic sans ms"><b> INDIShEll]]==--</font> <div class="hedr">
120+
121+
<td height="10" align="left" class="td1"></td></tr><tr><td
122+
width="100%" align="center" valign="top" rowspan="1"><font
123+
color="red" face="comic sans ms"size="1"><b>
124+
<font color=#ff9933>
125+
##########################################</font><font color=white>#############################################</font><font color=green>#############################################</font><br><font color=white>
126+
-==[[Greetz to]]==--</font><br> <font color=#ff9933>Guru ji zero ,code breaker ica, root_devil, google_warrior,INX_r0ot,Darkwolf indishell,Baba ,Silent poison India,Magnum sniper,Atul Dwivedi,ethicalnoob Indishell,Local root indishell,Irfninja indishell<br>Reborn India,L0rd Crus4d3r,cool toad,Hackuin,Alicks,Ebin V Thomas,Dinelson Amine,Th3 D3str0yer,SKSking,rad paul,Godzila,mike waals,zoo zoo,cyber warrior,Neo hacker ICA<br>cyber gladiator,7he Cre4t0r,Cyber Ace, Golden boy INDIA,Ketan Singh,Yash,Aneesh Dogra,AR AR,saad abbasi,hero,Minhal Mehdi ,Raj bhai ji , Hacking queen ,lovetherisk and rest of TEAM INDISHELL<br>
127+
<font color=white>--==[[Love to]]==--</font><br># My Father , my Ex Teacher,cold fire hacker,Mannu, ViKi,Suriya Cyber Tyson ,Ashu bhai ji,Soldier Of God,almas malik, Bhuppi,Mohit, Govind, Gujjar PCO,Ffe ^_^,Ashish,Shardhanand ,Budhaoo,Don(Deepika kaushik) and acche bacchi(Jagriti) <br>
128+
<font color=white>--==[[Interface Desgined By]]==--</font><br><font color=red>GCE College ke DON :D</font> <br></font>
129+
<b>
130+
<font color=#ff9933>
131+
##########################################</font><font color=white>#############################################</font><font color=green>#############################################</font>
132+
133+
</table>
134+
</table> <br>
135+
136+
';
137+
138+
139+
$f=file('/etc//////passwd');
140+
$misconf=array();
141+
$usr=array();
142+
foreach($f as $in)
143+
{
144+
145+
146+
$un=explode(':',$in);
147+
148+
if($un[2]>="500")
149+
{
150+
151+
$dir='/home/'.trim($un[0]).'/public_html/';
152+
$perm= substr(sprintf('%o', fileperms($dir)), -4);
153+
154+
$allp=str_split($perm,1);
155+
if($allp[3]>='4')
156+
{
157+
array_push($usr,$un[0]);
158+
array_push($misconf,$dir);
159+
}
160+
}
161+
162+
}
163+
echo "<div align=center><font color=#ff993 size=5>Here goes List of misconfigured Billu's =))</font></div>";
164+
$total=count($misconf);
165+
for($r=0;$r<$total;$r++)
166+
{
167+
echo "<br><b><font color=red size=3>username </font>--> ".$usr[$r]." and <font color=red size=3>home directory </font>is --> ".$misconf[$r];
168+
169+
}
170+
171+
?>

0 commit comments

Comments
 (0)