Search found 145 matches

by kanen
Sat Apr 17, 2010 2:54 pm
Forum: newLISP in the real world
Topic: Web Crawler
Replies: 4
Views: 2614

Re: Web Crawler

I had forgotten, after using Ruby and Python (and, of course, C) for a few years, just how fetching awesome newLISP is. I did indeed write the simple crawler in one evening and it turns out to be quite fast. Has anyone written a web crawler in newLISP? I have written later in 2009 some kind of crawl...
by kanen
Fri Apr 16, 2010 10:35 pm
Forum: newLISP newS
Topic: Network packet sniffer written in newLISP
Replies: 8
Views: 7424

Re: Network packet sniffer written in newLISP

I am guessing sniff.lsp was ported from sniffex.c, as it suffers from the same fundamental problem with malformed packets. From the sniffex.c source code: Take the IP *total* length field - "ip_len" in "struct sniff_ip" - and, first, check whether it's less than ip_hl*4 (after you've checked whether...
by kanen
Thu Apr 15, 2010 8:57 pm
Forum: newLISP in the real world
Topic: Web Crawler
Replies: 4
Views: 2614

Web Crawler

Has anyone written a web crawler in newLISP?

I have looked, but cannot find such a beast.

Any pointers would be greatly appreciated.
by kanen
Thu Apr 15, 2010 8:41 pm
Forum: newLISP in the real world
Topic: util/link.lsp (and modules)
Replies: 5
Views: 2663

util/link.lsp (and modules)

I love the ability to create a binary using link.lsp (load "util/link.lsp") (link "/usr/bin/newlisp" "my-app" "my-app.lsp") However, I want to be able to link all my sources (i.e. the modules I have written) into the same binary, so the binary doesn't have to load them from source files. Inside my-a...
by kanen
Wed Apr 14, 2010 6:45 am
Forum: newLISP newS
Topic: カネ|box
Replies: 2
Views: 3058

カネ|box

Or: (set 'promotion (append "self" "ish")) If you do not keep up with my blog http://www.LifeZero.org (and, why would you), I just wanted to mention that I am putting together a network security tool in newLISP called カネ|box (or kane|box). The web site is at http://www.kane-box.com . I know many of ...
by kanen
Sat Apr 10, 2010 11:14 pm
Forum: newLISP in the real world
Topic: invoking options inside newLISP
Replies: 1
Views: 1270

invoking options inside newLISP

I would like to be able to programmaticly change certain options, without passing them on the command-line. Am I forced to spawn a new version of newLISP to do this? For example; I want to check the amount of memory available for my program, then invoke: -s <stacksize> -m <max-mem-megabyte> I am als...
by kanen
Sat Apr 03, 2010 9:55 pm
Forum: newLISP in the real world
Topic: net-connect timeout
Replies: 5
Views: 2488

Re: net-connect timeout

Code and examples in newLISP posted: http://www.lifezero.org - under the title "port-knock'n"

Next up, a RAW Packet Creation library for newLISP. :)
by kanen
Fri Apr 02, 2010 11:23 pm
Forum: newLISP in the real world
Topic: net-service port not service?
Replies: 1
Views: 1335

net-service port not service?

I like net-service: net-service syntax: (net-service str-service str-protocol) Makes a lookup in the services database and returns the standard port number for this service. Returns nil on failure. (net-service "ftp" "tcp") --> 21 But, I would like to be able to specify a port, not a service name, a...
by kanen
Fri Apr 02, 2010 11:12 pm
Forum: Dragonfly
Topic: Example: JavaScript button to run a newLISP def?
Replies: 3
Views: 5129

Re: Example: JavaScript button to run a newLISP def?

As he said. I don't know how you would do a JavaScript button, but I have used the standard forms technique to get information for processing. On my blog page, there's a search form. The code for it is this: Thanks for your more polite response to my question. I am not an HTML/JavaScript coder by d...
by kanen
Fri Apr 02, 2010 11:07 pm
Forum: newLISP in the real world
Topic: net-connect timeout
Replies: 5
Views: 2488

Re: net-connect timeout

This, as you know, irritates me. So, I wrote a port-knocking program (in C) which should compile on any version of Linux/BSD/Windows, assuming you have a C compiler installed. It constructs a packet and connects to ports (like a port scanner), but it is so much faster than doing a net-connect. Anywa...
by kanen
Thu Apr 01, 2010 6:35 pm
Forum: newLISP in the real world
Topic: net-connect timeout
Replies: 5
Views: 2488

Re: net-connect timeout

I get the impression this conversation sounds familiar to you. Didn't we have this exact same conversation at kozoru? :) I suppose I am going to write a packet library for newLISP, then. As I need to be able to construct packets of arbitrary timeouts and with arbitrary header and payloads. Has anyon...
by kanen
Thu Apr 01, 2010 1:57 am
Forum: Dragonfly
Topic: Example: JavaScript button to run a newLISP def?
Replies: 3
Views: 5129

Example: JavaScript button to run a newLISP def?

Using Dragonfly; I am interested in having a user enter some text into a box and then have them click a button which will perform a newLISP def and return some results. For example: (your-name input box) Name: | John | (JavaScript button) Submit When the user clicks submit, it runs: (define (Name yo...
by kanen
Thu Apr 01, 2010 1:34 am
Forum: newLISP in the real world
Topic: net-connect timeout
Replies: 5
Views: 2488

net-connect timeout

Searched, but couldn't find an answer. I am not the most patient forum searcher, tho... Is there a way to specify a net-connect timeout value so I do not spend too long trying to connect to a port that is not open or a system that is not online? The default value, whatever it is, is too long for wha...
by kanen
Sun Mar 28, 2010 6:03 pm
Forum: newLISP newS
Topic: Network packet sniffer written in newLISP
Replies: 8
Views: 7424

Re: Network packet sniffer written in newLISP

xytroxon, Some of the comments on reddit have a slight pungency of code-elitism, but ... being on reddit is apparently causing my visitors to basically double for the newLISP entry, which is great for the newLISP community. Lutz will hopefully attest to my love for spreading the word. It's on reddit...
by kanen
Fri Mar 26, 2010 8:45 pm
Forum: newLISP newS
Topic: Network packet sniffer written in newLISP
Replies: 8
Views: 7424

Re: Network packet sniffer written in newLISP

Added to my blog post. Several people wrote me with "huh?" comments on the notation. :) Hi John - I see you're an old/newLISP master from Kozoru days - good to see you here, I hope you can teach us newcomers some nifty moves... :) The only suggestion I'd propose to your excellent newLISP Bayes post ...
by kanen
Fri Mar 26, 2010 12:23 am
Forum: Anything else we might add?
Topic: Not all posts displayed on Active Topics or RSS
Replies: 3
Views: 3349

Re: Not all posts displayed on Active Topics or RSS

RSS Feed? I have searched and not been able to find an RSS Feed for the newLISP Fan Club Forum. What am I missing? Just an admin question: I seem to have missed Tim's March 10 post in the "So, what can you actually DO with newLISP?" area because it didn't appear in the Active Topics list or in the R...
by kanen
Thu Mar 25, 2010 11:58 pm
Forum: newLISP newS
Topic: Network packet sniffer written in newLISP
Replies: 8
Views: 7424

Re: Network packet sniffer written in newLISP

I am using it for kane|box - a network security tool I am working on. (I was the founder of nCircle Network Security). I was writing the tool in Ruby, but Lutz (whom I have known for years) convinced me otherwise. More on my blog: www.LifeZero.org P.S. I am seriously happy to see this code and I am ...
by kanen
Thu Mar 25, 2010 6:48 pm
Forum: newLISP newS
Topic: Network packet sniffer written in newLISP
Replies: 8
Views: 7424

Re: Network packet sniffer written in newLISP

Wild! I sent you an e-mail today about this very thing, then checked the boards and ... magically... here it is. Reminds me of why I used newLISP all those years. So much community and help. #awesome This packet sniffer is easily customized to your own needs: http://www.newlisp.org/syntax.cgi?code/s...
by kanen
Thu Mar 25, 2010 6:44 pm
Forum: newLISP and the O.S.
Topic: invalid ELF header in libc.so (Ubuntu)
Replies: 2
Views: 2826

Re: invalid ELF header in libc.so (Ubuntu) [SOLVED]

Modified the unix.lsp code: "/usr/lib/libpcap.so.1.0.0"; UBUNTU 9.04 ;"/usr/lib/libc.so" ; Linux, BSD, Solaris Problem solved. When I attempt to import the unix.lsp module, I get an "invalid ELF header" error. The results are below. I have tried the Ubuntu apt-get version and the version compiled fr...
by kanen
Thu Mar 25, 2010 6:32 pm
Forum: newLISP and the O.S.
Topic: invalid ELF header in libc.so (Ubuntu)
Replies: 2
Views: 2826

invalid ELF header in libc.so (Ubuntu)

When I attempt to import the unix.lsp module, I get an "invalid ELF header" error. The results are below. I have tried the Ubuntu apt-get version and the version compiled from source. Both have the same problem. Any ideas? Am I missing something obvious? kanen@openkane:~/Source/newlisp-10.2.1$ ./new...