K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / usr / share / keyutils /
server ip : 172.67.156.115

your ip : 108.162.241.180

H O M E


Filename/usr/share/keyutils/request-key-debug.sh
Size906
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 10:01
Last modified21-Oct-2013 21:39
Last accessed05-Jul-2025 18:10
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#!/bin/sh
###############################################################################
#
# Copyright (C) 2005 Red Hat, Inc. All Rights Reserved.
# Written by David Howells ([email protected])
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version
# 2 of the License, or (at your option) any later version.
#
###############################################################################
#
# Request key debugging
#
# Call: request-key-debug.sh <keyid> <desc> <callout> <session-keyring>
#

echo RQDebug keyid: $1
echo RQDebug desc: $2
echo RQDebug callout: $3
echo RQDebug session keyring: $4

if [ "$3" != "neg" ]
then
keyctl instantiate $1 "Debug $3" $4 || exit 1
else
cat /proc/keys
echo keyctl negate $1 30 $4
keyctl negate $1 30 $4
fi

exit 0