mirror of
https://github.com/acedanger/shell.git
synced 2025-12-06 02:20:11 -08:00
9 lines
200 B
Bash
Executable File
9 lines
200 B
Bash
Executable File
#!/bin/bash
|
|
if [ "${PAM_TYPE}" = "open_session" ]; then
|
|
curl \
|
|
-H prio:high \
|
|
-H tags:warning \
|
|
-d "SSH login: ${PAM_USER} from ${PAM_RHOST}" \
|
|
https://notify.peterwood.rocks/lab
|
|
fi
|