403Webshell
Server IP : 85.112.90.236  /  Your IP : 192.168.1.26
Web Server : Apache
System : Linux 85-112-90-236.cprapid.com 6.12.0-211.7.3.el10_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 12:46:58 EDT 2026 x86_64
User : ftechme ( 1002)
PHP Version : 8.2.32
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/cups/ipptool/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/cups/ipptool/create-printer-subscription.test
# Create a printer subscription.
#
# Usage:
#
#   ./ipptool [-d recipient=uri] printer-uri create-printer-subscription.test
{
	# The name of the test...
	NAME "Create a push printer subscription"
	SKIP-IF-NOT-DEFINED recipient

	# The operation to use
	OPERATION Create-Printer-Subscription

	# The attributes to send
	GROUP operation-attributes-tag
	ATTR charset attributes-charset utf-8
	ATTR language attributes-natural-language en
	ATTR uri printer-uri $uri

	GROUP subscription-attributes-tag
	ATTR uri notify-recipient-uri $recipient
	ATTR keyword notify-events printer-config-changed,printer-state-changed

	# What statuses are OK?
	STATUS successful-ok

	# What attributes do we expect?
	EXPECT notify-subscription-id OF-TYPE integer WITH-VALUE >0
	DISPLAY notify-subscription-id
}

{
	# The name of the test...
	NAME "Create a pull printer subscription"
	SKIP-IF-DEFINED recipient

	# The operation to use
	OPERATION Create-Printer-Subscription

	# The attributes to send
	GROUP operation-attributes-tag
	ATTR charset attributes-charset utf-8
	ATTR language attributes-natural-language en
	ATTR uri printer-uri $uri

        GROUP subscription-attributes-tag
	ATTR keyword notify-pull-method ippget
	ATTR keyword notify-events printer-config-changed,printer-state-changed

	# What statuses are OK?
	STATUS successful-ok

	# What attributes do we expect?
	EXPECT notify-subscription-id OF-TYPE integer WITH-VALUE >0
	DISPLAY notify-subscription-id
}

Youez - 2016 - github.com/yon3zu
LinuXploit