<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.cayu.com.ar/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.cayu.com.ar/feed.php">
        <title>Cayu - Wiki de Sergio Cayuqueo - seguridad:programacion:redes</title>
        <description></description>
        <link>https://wiki.cayu.com.ar/</link>
        <image rdf:resource="https://wiki.cayu.com.ar/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-04-19T01:54:48+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.cayu.com.ar/doku.php?id=seguridad:programacion:redes:nodejs&amp;rev=1547498989&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cayu.com.ar/doku.php?id=seguridad:programacion:redes:python&amp;rev=1546527971&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cayu.com.ar/doku.php?id=seguridad:programacion:redes:scanner_de_puertos_simple&amp;rev=1391796242&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.cayu.com.ar/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>Cayu - Wiki de Sergio Cayuqueo</title>
        <link>https://wiki.cayu.com.ar/</link>
        <url>https://wiki.cayu.com.ar/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://wiki.cayu.com.ar/doku.php?id=seguridad:programacion:redes:nodejs&amp;rev=1547498989&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-01-14T20:49:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>nodejs</title>
        <link>https://wiki.cayu.com.ar/doku.php?id=seguridad:programacion:redes:nodejs&amp;rev=1547498989&amp;do=diff</link>
        <description>NodeJS

Scanner de puertos simple : &lt;https://www.hacksparrow.com/a-port-scanner-in-node-js.html&gt;


var net = require(&#039;net&#039;);

// the machine to scan
var host = process.argv[2];
// starting from port number
var start = 1;
// to port number
var end = 10000;
// sockets should timeout asap to ensure no resources are wasted
// but too low a timeout value increases the likelyhood of missing open sockets, so be careful
var timeout = 2000;

// the port scanning loop 
while (start &lt;= end) {
    
    // i…</description>
    </item>
    <item rdf:about="https://wiki.cayu.com.ar/doku.php?id=seguridad:programacion:redes:python&amp;rev=1546527971&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-01-03T15:06:11+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python</title>
        <link>https://wiki.cayu.com.ar/doku.php?id=seguridad:programacion:redes:python&amp;rev=1546527971&amp;do=diff</link>
        <description>Scripts simples en python

Scanner simple de puertos :


import socket, subprocess,sys
from datetime import datetime
subprocess.call(&#039;clear&#039;,shell=True)
rmip = raw_input(&quot;\t Enter the remote host IP to scan:&quot;)
r1 = int(raw_input(&quot;\t Enter the start port number\t&quot;))
r2 = int (raw_input(&quot;\t Enter the last port number\t&quot;))
print &quot;*&quot;*40
print &quot;\n Mohit&#039;s Scanner is working on &quot;,rmip
print &quot;*&quot;*40
t1=datetime.now()
try:
	for port in range(r1,r2):
		sock= socket.socket(socket.AF_INET,socket.SOCK_STREAM…</description>
    </item>
    <item rdf:about="https://wiki.cayu.com.ar/doku.php?id=seguridad:programacion:redes:scanner_de_puertos_simple&amp;rev=1391796242&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-02-07T18:04:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>scanner_de_puertos_simple</title>
        <link>https://wiki.cayu.com.ar/doku.php?id=seguridad:programacion:redes:scanner_de_puertos_simple&amp;rev=1391796242&amp;do=diff</link>
        <description>#include &lt;sys/types.h&gt;
#include &lt;sys/socket.h&gt;
#include &lt;netinet/in.h&gt;
#include &lt;netdb.h&gt;
#include &lt;stdio.h&gt;
#include &lt;errno.h&gt;
#include &lt;fcntl.h&gt;


main(int argc, char *argv[]) {
   int sock,rval,puerto;
   struct sockaddr_in server;
   struct hostent *hp, *gethostbyname();

   if (argc &lt; 2) {
      printf(&quot;Uso: %s nombre_host \n&quot;, argv[0]);
      exit (1);
   }
   printf(&quot;\nEscaner de puertos (^C para salir)\n&quot;);
  
   hp = gethostbyname(argv[1]);
   if (hp == 0) {
      fprintf(stderr, &quot;%s: N…</description>
    </item>
</rdf:RDF>
