AnonSec Shell
Server IP : 92.204.138.22  /  Your IP : 3.141.38.154
Web Server : Apache
System : Linux ns1009439.ip-92-204-138.us 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33 EDT 2024 x86_64
User : internationaljou ( 1019)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/internationaljou/public_html/admin/js/BROKY_ADMIN/alfasymlink/root/proc/thread-self/root/usr/bin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/internationaljou/public_html/admin/js/BROKY_ADMIN/alfasymlink/root/proc/thread-self/root/usr/bin/vimdot
#!/bin/sh
# Written by: John Ellson <ellson@research.att.com>

error() { echo "$0: $*" >&2; exit 1; }

# Try $EDITOR first, else try vim or vi
editor="$EDITOR"
[ -x "$editor" ] || editor="/usr/bin/vim"
[ -x "$editor" ] || editor="/usr/bin/vi"
[ -x "$editor" ] || error "EDITOR not found or not executable";

default="noname.gv"

if test -z "$1"; then
	f="$default"
	if ! test -f "$f"; then
		if ! test -w .; then error "directory `pwd` is not writable"; fi
		cat >"$f" <<EOF
digraph G {
	graph [layout=dot rankdir=LR]

// This is just an example for you to use as a template.
// Edit as you like. Whenever you save a legal graph
// the layout in the graphviz window will be updated.

	vim [href="http://www.vim.org/"]
	dot [href="http://www.graphviz.org/"]
	vimdot [href="file:///usr/bin/vimdot"]

	{vim dot} -> vimdot
}
EOF
	fi
else
	f="$1"
fi

if ! test -w "$f"; then error "$f is not writable"; fi

# dot -Txlib watches the file $f for changes using inotify()
dot -Txlib "$f" 2>/dev/null &
# open an editor on the file $f (could be any editor; gvim &'s itself)
exec $editor "$f"

Anon7 - 2022
AnonSec Team