One Hat Cyber Team
Your IP :
216.73.216.216
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
backup
/
oldserver
/
2
/
bin
/
Edit File:
vimdot
#!/bin/sh # Written by: John Ellson <ellson@research.att.com> error() { echo "$0: $*" >&2; exit 1; } editor="/usr/bin/vim" [ -x "$editor" ] || editor="/usr/bin/vi" if ! test -x "$editor"; then error "the \"$editor\" editor not found or not executable"; fi 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() # run it in an xterm window to handle any stderr xterm -e dot -Txlib "$f" 2>/dev/null & # open an editor on the file $f (could be any editor; gvim &'s itself) exec $editor "$f"
Simpan