modified: alpine-qemu-install
modified: conn new file: greplast modified: nmap_sA
This commit is contained in:
@@ -39,16 +39,16 @@ echo "iso = $ISO"
|
|||||||
|
|
||||||
qemu-system-x86_64 \
|
qemu-system-x86_64 \
|
||||||
-m $RAM \
|
-m $RAM \
|
||||||
-nic user \
|
|
||||||
-boot once=d \
|
-boot once=d \
|
||||||
-cdrom $ISO \
|
-cdrom $ISO \
|
||||||
-drive file=$IMG \
|
-drive file=$IMG \
|
||||||
-nic user,hostfwd=tcp::2222-:22 \
|
-display none \
|
||||||
-device virtio-vga \
|
-device virtio-vga \
|
||||||
-enable-kvm \
|
-enable-kvm \
|
||||||
-display default,show-cursor=on \
|
-net user,hostfwd=tcp::7777-:22
|
||||||
-display none \
|
-net nic
|
||||||
-virtfs local,id=share,path="$SHARE",security_model=none,mount_tag=hostshare
|
#-virtfs local,id=share,path="$SHARE",security_model=none,mount_tag=hostshare
|
||||||
|
|
||||||
|
|
||||||
## --- Run QEMU with graphics + shared folder ---
|
## --- Run QEMU with graphics + shared folder ---
|
||||||
#qemu-system-x86_64 \
|
#qemu-system-x86_64 \
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
iwctl station wlan0 scan
|
||||||
if [ "$#" -lt 1 ] ; then
|
if [ "$#" -lt 1 ] ; then
|
||||||
|
iwctl station wlan0 get-networks
|
||||||
|
echo
|
||||||
|
echo
|
||||||
echo "Usage: $0 USSID"
|
echo "Usage: $0 USSID"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
echo "prev"
|
||||||
|
grepip $LOG_CONN_DIR/prev.log
|
||||||
|
echo "last"
|
||||||
|
grepip $LOG_CONN
|
||||||
@@ -1,6 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
nmap_sA ()
|
nmap_sA ()
|
||||||
{
|
{
|
||||||
|
<<<<<<< HEAD
|
||||||
nmap -Pn -sA --reason $@
|
nmap -Pn -sA --reason $@
|
||||||
|
=======
|
||||||
|
nmap -sA --reason -Pn
|
||||||
|
>>>>>>> d4ee7bf (modified: alpine-qemu-install)
|
||||||
}
|
}
|
||||||
nmap_sA "$@"
|
nmap_sA "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user