2048 55坙栠=縅�0�52牂�&n2%1h�怇[u諞暒�8�?熣 � /吭乓w5# irqbalance is a daemon process that distributes interrupts across # CPUs on SMP systems. The default is to rebalance once every 10 # seconds. This is the environment file that is specified to systemd via the # EnvironmentFile key in the service unit file (or via whatever method the init # system you're using has). # # IRQBALANCE_ONESHOT # After starting, wait for ten seconds, then look at the interrupt # load and balance it once; after balancing exit and do not change # it again. # #IRQBALANCE_ONESHOT= # # IRQBALANCE_BANNED_CPUS # 64 bit bitmask which allows you to indicate which CPUs should # be skipped when reblancing IRQs. CPU numbers which have their # corresponding bits set to one in this mask will not have any # IRQs assigned to them on rebalance. # #IRQBALANCE_BANNED_CPUS= # # IRQBALANCE_BANNED_CPULIST # The CPUs list which allows you to indicate which CPUs should # be skipped when reblancing IRQs. CPU numbers in CPUs list will # not have any IRQs assigned to them on rebalance. # # The format of CPUs list is: # ,..., # or a range: # - # or a mixture: # ,...,- # #IRQBALANCE_BANNED_CPULIST= # # IRQBALANCE_ARGS # Append any args here to the irqbalance daemon as documented in the man # page. # #IRQBALANCE_ARGS= 67坙栃z緮 奺JeA鄼杆阞芽慆B躵帚#舩��� 僲�掌��7local ipOps = require "ipOps" local math = require "math" local nmap = require "nmap" local packet = require "packet" local stdnse = require "stdnse" local table = require "table" description = [[ Classifies a host's IP ID sequence (test for susceptibility to idle scan). Sends six probes to obtain IP IDs from the target and classifies them similarly to Nmap's method. This is useful for finding suitable zombies for Nmap's idle scan (-sI) as Nmap itself doesn't provide a way to scan for these hosts. ]] --- -- @usage -- nmap --script ipidseq [--script-args probeport=port] target -- @args probeport Set destination port to probe -- @output -- Host script results: -- |_ipidseq: Incremental! [used port 80] -- I also implemented this in Metasploit as auxiliary/scanner/ip/ipidseq, but -- this NSE script was actually written first (unfortunately it only worked -- with vanilla Nmap using dnet ethernet sending.. ugh) -- -- Originally written 05/24/2008; revived 01/24/2010 author = "Kris Katterjohn" license = "Same as Nmap--See https://nmap.org/book/man-legal.html" categories = {"safe", "discovery"} local NUMPROBES = 6 local ipidseqport --- Updates a TCP Packet object -- @param tcp The TCP object local updatepkt = function(tcp) tcp:tcp_set_sport(math.random(0x401, 0xffff)) tcp:tcp_set_seq(math.random(1, 0x7fffffff)) tcp:tcp_count_checksum(tcp.ip_len) tcp:ip_count_checksum() end --- Create a TCP Packet object -- @param host Host object -- @param port Port number -- @return TCP Packet object local genericpkt = function(host, port) local pkt = stdnse.fromhex( "4500 002c 55d1 0000 8006 0000 0000 0000" .. "0000 0000 0000 0000 0000 0000 0000 0000" .. "6002 0c00 0000 0000 0204 05b4" ) local tcp = packet.Packet:new(pkt, pkt:len()) tcp:ip_set_bin_src(host.bin_ip_src) tcp:ip_set_bin_dst(host.bin_ip) tcp:tcp_set_dport(port) return tcp end --- Classifies a series of IP ID numbers like get_ipid_sequence() in osscan2.cc -- @param ipids Table of IP IDs local ipidseqclass = function(ipids) local diffs = {} local allzeros = true local allsame = true local mul256 = true local inc = true if #ipids < 2 then return "Unknown" end local i = 2 while i <= #ipids do if ipids[i-1] ~= 0 or ipids[i] ~= 0 then allzeros = false end if ipids[i-1] <= ipids[i] then diffs[i-1] = ipids[i] - ipids[i-1] else diffs[i-1] = ipids[i] - ipids[i-1] + 65536 end if #ipids > 2 and diffs[i-1] > 20000 then return "Randomized" end