Sha256: 1f712f90d8fc1e736b1b46f3600026f371a14a8d00dcfe69c327603142782813

Contents?: true

Size: 167 Bytes

Versions: 13

Compression:

Stored size: 167 Bytes

Contents

Opens a UNIX Socket and accepts one connection:

    buffer = 'A' * 1024
    unix_accept('/tmp/race_condition.socket') do |socket|
      sockets.puts(buffer)
    end

Version data entries

13 entries across 13 versions & 1 rubygems

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