GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — smallbasic.github.io/samples/node/127.bas at master · smallbasic/smallbasic.github.io Expand file tree/ Copy path127.basMore file actions 77 lines (68 loc) · 1.48 KB / Copy path127.basFile metadata and controls77 lines (68 loc) · 1.48 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 '#!/usr/local/bin/sbasic REM REM Anonymous mailer REM REM Using VFS socket-client driver SUB SVR_REPLY INPUT #1, errcode PRINT "<- ";errcode IF LEFT(errcode,1) = "5" STOP FI WHILE ( LOF(1) ) SVR_REPLY WEND END SUB SEND(cmd) PRINT "-> "; cmd PRINT #1, cmd END SUB SEND_AND_CHECK(cmd) SEND cmd SVR_REPLY END DIM MSG(99) PRINT CAT(1);"* ANONYMOUS MAILER *";CAT(0) PRINT "SmallBASIC 0.7.1 - Example" PRINT PRINT "(*=required)" INPUT "*SMTP server "; server INPUT "*Victim''s address "; victim INPUT " HELO ID "; heloid IF EMPTY(heloid) THEN heloid=LEFTOF(victim,"@") INPUT " Fake sender''s name "; sndname IF EMPTY(sndname) THEN sndname="null pointer assignment" INPUT " Fake sender''s addr. "; sender INPUT " Reply-To "; replyto INPUT " Subject: "; subject IF EMPTY(subject) THEN subject="Just, read me" PRINT PRINT "Enter the message:" PRINT "Press [ENTER] on an empty line to send" FOR i=0 TO 98 INPUT "LINE "+(i+1);MSG(i) IF EMPTY(MSG(i)) THEN EXIT NEXT MSG(i)="." OPEN "SOCL:"+server+":25" AS #1 SVR_REPLY SEND_AND_CHECK "HELO "+heloid SEND_AND_CHECK "MAIL FROM: <"+victim+">" SEND_AND_CHECK "RCPT TO: <"+victim+">" SEND_AND_CHECK "DATA" SEND "From: " + sndname + " <"+sender+">" SEND "To: <" + victim + ">" SEND "Reply-To: <"+replyto+">" SEND "Subject: "+subject SEND "" FOR i=0 TO 99 SEND MSG(i) IF MSG(i)="." THEN EXIT NEXT SVR_REPLY SEND "QUIT" CLOSE #1 END ' |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |