metasploit-framework/lib/rex/proto/pjl.rb

30 lines
569 B
Ruby
Raw Normal View History

2013-12-05 16:25:04 +00:00
# https://en.wikipedia.org/wiki/Printer_Job_Language
# See external links for PJL spec
module Rex::Proto::PJL
require "rex/proto/pjl/client"
2014-01-15 19:49:37 +00:00
DEFAULT_PORT = 9100
2014-01-16 17:58:37 +00:00
DEFAULT_TIMEOUT = 5
2014-01-15 19:49:37 +00:00
2013-12-09 21:33:44 +00:00
COUNT_MAX = 2147483647
SIZE_MAX = 2147483647
2013-12-05 16:25:04 +00:00
UEL = "\e%-12345X" # Universal Exit Language
PREFIX = "@PJL"
2013-12-16 17:35:02 +00:00
module Info
ID = "#{PREFIX} INFO ID"
STATUS = "#{PREFIX} INFO STATUS"
FILESYS = "#{PREFIX} INFO FILESYS"
end
2013-12-05 16:25:04 +00:00
2013-12-16 17:35:02 +00:00
RDYMSG = "#{PREFIX} RDYMSG"
2013-12-05 16:25:04 +00:00
2013-12-16 17:35:02 +00:00
FSINIT = "#{PREFIX} FSINIT"
FSDIRLIST = "#{PREFIX} FSDIRLIST"
FSUPLOAD = "#{PREFIX} FSUPLOAD"
2013-12-05 16:25:04 +00:00
end