Sha256: 788c1b3f359fd54d6dab32cc621a1638d229cfb6c336c86ea9ebde2754b56374

Contents?: true

Size: 161 Bytes

Versions: 13

Compression:

Stored size: 161 Bytes

Contents

Listen on a port, and receive only one UDP message:

    udp_recv(1337) do |socket,(host,port),mesg|
      print_info "#{host}:#{port}"
      puts mesg
    end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ronin-2.1.0 data/tips/scripting/udp_recv.txt
ronin-2.1.0.rc1 data/tips/scripting/udp_recv.txt
ronin-2.0.5 data/tips/scripting/udp_recv.txt
ronin-2.0.4 data/tips/scripting/udp_recv.txt
ronin-2.0.3 data/tips/scripting/udp_recv.txt
ronin-2.0.2 data/tips/scripting/udp_recv.txt
ronin-2.0.1 data/tips/scripting/udp_recv.txt
ronin-2.0.0 data/tips/scripting/udp_recv.txt
ronin-2.0.0.beta5 data/tips/scripting/udp_recv.txt
ronin-2.0.0.beta4 data/tips/scripting/udp_recv.txt
ronin-2.0.0.beta3 data/tips/scripting/udp_recv.txt
ronin-2.0.0.beta2 data/tips/scripting/udp_recv.txt
ronin-2.0.0.beta1 data/tips/scripting/udp_recv.txt