Intente con:
Código: bash
~ DtxdF
execute -f cmd.exe -H -i~ DtxdF

Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes Menúexecute -f cmd.exe -H -igit clone https://github.com/JPaulMora/Pyrit.git
cd Pyritwget -c -vv https://github.com/JPaulMora/Pyrit/archive/master.zip
unzip master.zip
cd Pyrit-masterpython setup.py installapt-get install python-dev libpcap-dev libssl-devsudo python -m easy_install pippython -m pip install pyrit
# ó
pip install pyritCitarlo que busco hacer no se podrá hacer

Citar404 Not Found [IP: 91.189.95.83 80]
Leyendo lista de paquetes... Hecho
E: El repositorio «You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login groovy Release» no tiene un fichero de Publicación.
N: No se puede actualizar de un repositorio como este de forma segura y por tanto está deshabilitado por omisión.
N: Vea la página de manual apt-secure(para los detalles sobre la creación de repositorios y la configuración de usuarios.
CitarO desinstalo el sistema operativo, borro la particion y lo vuelvo a instalar ? es que ya me estoy volviendo loco xD
python -m pip install pyrit
# ó
pip install pyrit # Ya depende de que pip se refiera, mayormente es a la versión 2.7python3 -m pip install pyrit
# ó
pip3 install pyritpython setup.py install # pyrit está utilizando la versión 2 de python en el repositoriosudo apt-get updatesudo apt-get upgradesudo apt-get install pyritCitarPor http no es lo que quiero...
#!/usr/bin/env sh
echo 1 > test.txtsh -c "cd /tmp && ./test.sh"
sudo apt-get install git build-essentialsu
apt-get install git build-essentialsudo pacman -S git gcc makesu
pacman -S git gcc makegit clone http://git.suckless.org/dwm
cd dwm# dmenu
sudo pacman -S dmenu
# rofi
sudo pacman -S rofi# dmenu
sudo apt-get install suckless-tools
# rofi
sudo apt-get install rofisudo apt-get install libx11-dev libxinerama-devvim config.def.h


static const char *<nombre de la variable>[] = { "<programa>", NULL };
// o
static const char *<nombre de la variable>[] = { "<programa>", "<parámetro 3>", "<parámetro 2>", NULL };
cp -v config.def.h config.h
sudo make clean install
exec dwmstartx
[Desktop Entry]
Encoding=UTF-8
Name=Dwm
Comment=Dynamic Window Manager
Exec=dwm-personalized
Icon=dwm.png
Type=XSession#!/usr/bin/env sh
# No quiero la tecnología dpms (Display Power Management System)
xset -dpms
xset s off
xset s noblank
# Defino mi fondo de escritorio
nitrogen --set-centered /home/dtxdf/Pictures/BG-Desktop/bonito.jpg
# Remplazo el proceso actual por dwm
exec dwmsudo install --mode 755 dwm-personalized /usr/local/bin
xmodmap -pke
/* See LICENSE file for copyright and license details. */
/* appearance */
static const unsigned int borderpx = 0; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 0; /* 0 means no bar */
static const int topbar = 0; /* 0 means bottom bar */
static const char *fonts[] = { "Liberation Mono:size=10" };
static const char dmenufont[] = "Liberation Mono:size=10";
static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee";
static const char col_cyan[] = "#005577";
static const char *colors[][3] = {
/* fg bg border */
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
[SchemeSel] = { col_gray4, col_cyan, col_cyan },
};
/* tagging */
static const char *tags[] = { "UXVT", "Firefox", "Documentación" };
static const Rule rules[] = {
/* xprop(1):
* WM_CLASS(STRING) = instance, class
* WM_NAME(STRING) = title
*/
/* class instance title tags mask isfloating monitor */
{ NULL, NULL, NULL, 0, 0, -1 }
};
/* layout(s) */
static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
static const int nmaster = 1; /* number of clients in master area */
static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */
static const Layout layouts[] = {
/* symbol arrange function */
{ "[]=", tile }, /* first entry is default */
{ "><>", NULL }, /* no layout function means floating behavior */
{ "[M]", monocle },
};
/* key definitions */
#define MODKEY Mod1Mask
#define TAGKEYS(KEY,TAG) \
{ MODKEY, KEY, view, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
{ MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
/* helper for spawning shell commands in the pre dwm-5.0 fashion */
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
/* commands */
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
//static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
static const char *dmenucmd[] = { "rofi", "-show", "run", NULL };
static const char *termcmd[] = { "urxvt", NULL };
static const char *firefox[] = { "firefox", NULL };
static const char *shutdown[] = { "power-script", "1", NULL }; // APAGAR
static const char *reboot[] = { "power-script", "2", NULL }; // REINICIAR
static const char *cancel[] = { "power-script", "3", NULL }; // CANCELAR
static const char *sessions[] = { "select-session", NULL }; // SELECCIONAR UNA SESIÓN DE TMUX
static const char *bam_connect[] = { "bam-connect", NULL }; // Para conectar el bam
static const char *bam_disconnect[] = { "bam-disconnect", NULL }; // Para desconectar el bam
static const char *screenshot[] = { "scrot-script", "mtpaint", NULL }; // Tomar una captura de pantalla
static Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_Print, spawn, {.v = screenshot} },
{ MODKEY, XK_p, spawn, {.v = dmenucmd} },
{ MODKEY|ShiftMask, XK_t, spawn, {.v = termcmd} },
{ MODKEY, XK_F1, spawn, {.v = firefox} },
{ MODKEY|ShiftMask, XK_s, spawn, {.v = shutdown} },
{ MODKEY|ShiftMask, XK_r, spawn, {.v = reboot} },
{ MODKEY|ShiftMask, XK_k, spawn, {.v = cancel} },
{ MODKEY, XK_s, spawn, {.v = sessions} },
{ MODKEY, XK_q, spawn, {.v = bam_connect} },
{ MODKEY, XK_w, spawn, {.v = bam_disconnect} },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY, XK_i, incnmaster, {.i = +1 } },
{ MODKEY, XK_d, incnmaster, {.i = -1 } },
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
{ MODKEY, XK_l, setmfact, {.f = +0.05} },
{ MODKEY, XK_Return, zoom, {0} },
{ MODKEY, XK_Tab, view, {0} },
{ MODKEY|ShiftMask, XK_c, killclient, {0} },
{ MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
{ MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
{ MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
{ MODKEY, XK_space, setlayout, {0} },
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
{ MODKEY, XK_0, view, {.ui = ~0 } },
{ MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
{ MODKEY, XK_comma, focusmon, {.i = -1 } },
{ MODKEY, XK_period, focusmon, {.i = +1 } },
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)
TAGKEYS( XK_4, 3)
TAGKEYS( XK_5, 4)
TAGKEYS( XK_6, 5)
TAGKEYS( XK_7, 6)
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
{ MODKEY|ShiftMask, XK_q, quit, {0} },
};
/* button definitions */
/* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
static Button buttons[] = {
/* click event mask button function argument */
{ ClkLtSymbol, 0, Button1, setlayout, {0} },
{ ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} },
{ ClkWinTitle, 0, Button2, zoom, {0} },
{ ClkStatusText, 0, Button2, spawn, {.v = termcmd } },
{ ClkClientWin, MODKEY, Button1, movemouse, {0} },
{ ClkClientWin, MODKEY, Button2, togglefloating, {0} },
{ ClkClientWin, MODKEY, Button3, resizemouse, {0} },
{ ClkTagBar, 0, Button1, view, {0} },
{ ClkTagBar, 0, Button3, toggleview, {0} },
{ ClkTagBar, MODKEY, Button1, tag, {0} },
{ ClkTagBar, MODKEY, Button3, toggletag, {0} },
};#!/usr/bin/env sh
declare PROGRAM=$1
declare FILE_NAME=/tmp/scrot.png
if [ ${#*} -lt 1 ];then
zenity --error --text="Debes seleccionar un programa para que interactúe con la captura de pantalla." --no-wrap
exit 1
fi
if [ -z "$(which $PROGRAM)" ];then
zenity --error --text="Ha ocurrido un error, \"$PROGRAM\" no existe" --no-wrap
exit 2
fi
rm -f "$FILE_NAME";scrot -s "$FILE_NAME" && command "$PROGRAM" "$FILE_NAME"#!/usr/bin/env sh
sudo wvdial#!/usr/bin/env sh
sudo killall wvdial#!/usr/bin/env bash
declare -x aux
declare -x aux_sessions
declare -x session_name
declare -x session_info
declare -x execute
declare -x val
let n=0
IFS_BAK=$IFS
IFS="
"
show_sessions() {
for i in $(tmux ls);do
echo -n "$i;"
done
}
tmux ls > /dev/null 2> /dev/null
if [ $? -eq 1 ];then
zenity --text="Por ahora no tiene sesiones en tmux Sr. DtxdF :3" --no-wrap --info
exit 1
fi
aux_sessions=$(show_sessions)
execute='zenity --list --column="Session" --column="Information" --title="Seleccione una sesión Sr. DtxdF"'
while [ true ];do
let n+=1
aux=$(echo $aux_sessions | cut -d ";" -f $n)
if [ -z "$aux" ];then
break
fi
session_name=$(echo $aux | cut -d ":" -f 1)
session_info=$(echo $aux | cut -d ":" -f 2 | sed "s/^ //")
execute="$execute \"$session_name\" \"$session_info\""
done
IFS=$IFS_BAK
val=$(sh -c "$execute")
if [ $? -eq 0 ];then
urxvt -e sh -c "tmux attach -t \"$val\""
fi#!/usr/bin/env bash
let option=$1 2> /dev/null
let timeout=10
let timetoshut=10
declare -x cancelfile="/tmp/noshut"
write_error_msg() {
zenity --text="$1" --error --no-wrap
}
check_noshut() {
if [ -f "$cancelfile" ];then
rm -f "$cancelfile"
exit 0
fi
}
if [ "$option" -eq 0 ];then
write_error_msg "¡Debes escribir una opción!"
exit 1
fi
if [ "$option" -eq 1 ];then
zenity --warning --text="Su equipo se apagará dentro de $timetoshut segundo(s) Sr. DtxdF, por favor sea paciente" --timeout=$timeout --no-wrap
sleep $timetoshut
check_noshut
poweroff
elif [ "$option" -eq 2 ];then
zenity --warning --text="Su equipo se reiniciará dentro de $timetoshut segundo(s) Sr. DtxdF, por favor sea paciente" --timeout=$timeout --no-wrap
sleep $timetoshut
check_noshut
reboot
elif [ "$option" -eq 3 ];then
touch $cancelfile
zenity --info --text="El equipo no se apagará Sr. DtxdF, no se preocupe ;-)" --timeout=$timeout --no-wrap
else
write_error_msg "¡Opción no encontrada!"
exit 3
fi
exit 0rofi-theme-selector
Host_Alias SRV_DTXDF = localhost, dtxdf # Nombre del host de la máquina
User_Alias USR_DTXDF = dtxdf # Nombre de usuario, en mi caso es 'dtxdf'
Cmnd_Alias WVDIAL = /usr/bin/wvdial
Cmnd_Alias KILL_WVDIAL = /usr/bin/killall wvdial
# Permitimos que se ejecute sudo sin contraseña a wvidlal y 'killall wvdial'
USR_DTXDF SRV_DTXDF = NOPASSWD:WVDIAL
USR_DTXDF SRV_DTXDF = NOPASSWD:KILL_WVDIALxmodmap


