Jump to content

dylanwinn

Active Members
  • Posts

    50
  • Joined

  • Last visited

Everything posted by dylanwinn

  1. Tried copSSH it gives me a similar error: Permission denied (publickey,password,keyboard-interactive). Is there a possibility that I am entering the password wrong? Could someone explain the process of setting up authentication for me?
  2. Yes, I have enabled access. I'm trying copSSH now...
  3. Yep, I have the server setup to use Public Key 128 bit RSA encryption, and I have one user, which uses a password stored as a HA1 Hash. However, it won't work no matter how I setup the server. This is very annoying, as FreeSSHd worked fine before I reinstalled Windows. Are there any other good Windows SSH servers? P.S. When I installed the server, I was not asked to permit or deny it to listen for WAN connections. This may be because I installed it as a service, but I'm not sure.
  4. Thanks for the tip on avoiding being caught! I do have an unlimited (err 5GB/month) data plan, and I use ssh and high-bandwidth apps on my phone all the time, so I should be safe. Still, this is mostly for web browsing, and even then, only as a backup connection.
  5. Should have clarified that. I'm running Windows XP SP3 on my home server (I know...), which is running the FreeSSHd Server. I'm trying to connect using the built in SSH client on my Ubuntu-running notebook. I get password denied no matter what password I use, even if I'm on the lan. Yes, I am using the correct username.
  6. 1) Obama doesn't have the power to disconnect the internet. It's a logical impossibility, even if he says he can. 2) What's the NSAn? 3) You name faintly reminds me of Sarah Palin and Satan 4) ru a trole? 5) lol i trole u! 6) /b/tard is what you may or may not be 7) /r/tard is not a real phrase
  7. *I know this has come up before, but it was never resolved* I've been trying to setup an SSH tunnel, but I get an "password denied" error every time I try to connect, whether from the same box or a different box, on the lan or on the internet. Before you start making me look stupid: * password is correct * same issue no matter the auth method * firewall is not blocking ports * ports are forwarded * ISP is not blocking port * I have multiple other types of servers running on the same PC * Server and client are on different PCs * Same issue on LAN & WAN * Same issue on Windows & Linux * Same issue running server as Service or Not Service * Tried Reinstall already * Just reinstalled Windows * Running XP SP3
  8. EDIT: Holy God, it works! I did a little poking around with netcat, and I found that for some reason, the connection blocks port 80. Otherwise, it works, as I was able to ping google.com and SSH into bbs.hak5.org! The new question would be: How do I setup a compressed proxy on my home server? My phone's internet is a bit slow, and a 5GB bandwidth cap is tight even at 114kb/s.
  9. You mean, "this wouldn't be possible without Tim Paterson", right? You know: - Credit: http://inventors.about.com/library/weekly/aa033099.htm EDIT: On the topic of FLOPS: 1) FLOPS = FLoating-point Operations Per Second 2) FLOPS, like Moose, is both plural & singular, so "1 FLOPS" is correct. 3) A pocket calculator manages 10 FLOPS 4) An Intel Q6600 @ 3.2 GHz manages 26.7 GigaFLOPS (26.7*10^9 or 26,700,000,000) 5) The Intel QX9775 @ stock clock manages 37 GigaFLOPS (37*10^9 or 37,000,000,000) 6) An ATI Radeon 4870x2 (second fastest GPU ever) manages 1.2 TeraFLOPS (1.2*10^12 or 1,200,000,000,000) 7) The experimental Intel POLARIS chip (80 cores) manages 128 TeraFLOPS (1.8*10^12 or 1,800,000,000,000 8) IBM's Roadrunner (current fastest computer) manages 1.026 PetaFLOPS (1.206*10^15 or 12,060,000,000,000) 9) Folding@Home manages a combined 4.61 PetaFLOPS (4.61*10^15 or 4,610,000,000,000,000) 10) IBM's upcoming Sequoia Supercomputer will manage 20 PetaFLOPS (20*10^15 or 20,000,000,000,000,000)
  10. Sorry for being a n00b on such topics as WIFI on linux, but does KARMA require madwifi? And if so, is there any way to get madwifi to work on a broadcom (Linksys) chipset? If its not possible, could I put openWRT on there and use it as a router, or would I have to screw with IP tables to do that? The reason I ask is that I have an old notebook lying around, and its hardware is 100% supported on Linux. Its too slow for most uses, but putting KARMA on it sounds fun ;) Thanks Also, my new notebook does have an Atheros chipset. How would I go about installing KARMA on it?
  11. Bag: * ASUS M51TA Gaming Notebook (Vista x32) * *Sometimes* Compaq Evo n115 crap notebook (xUbuntu) * Logitech Wireless Laser Gaming Mouse * 4 GB USB Drive * CanTenna *WOOT!* * Chargers * Cat 5e cable (Steal WIFI & Gigabit Ethernet at once!) * Maximum PC Mag * M33-enabled PSP-1001 * School Stuff Pockets: * Blackberry Perl * 16 GB iPod Nano Chromatic * Wallet * Keys HOLY SHIT! WHY YOU ALL HAVE MACBOOKS?
  12. Can't you use UDP multicasting to make it so you upload the content once, and it is automatically sent off to many users in the cloud, without extra load on the server? http://en.wikipedia.org/wiki/Multicast
  13. Hmm... ROUNDUP TIME! (All estimates. Prices from newegg, except on micro-itx. They include mobo, cpu, hdd, psu & ram. No cases.) Mini-ITX (Atom) Mhz: 1.6 Ghz x 2 Cores = 3200 RAM: 512 MB HDD: 128 MB SSD Power: 30 Watts Cost: $251.91 Ratio: 0.078721875 Micro-ATX (Q6600) Mhz: 2.4 Ghz x 4 Cores = 9600 RAM: 4 GB HDD: 80 GB SATA Power: 100 Watts ? Cost: $447.38 (DIRT CHEAP!) Ratio: 0.04660208333 Full-ATX (Core i7) Mhz: 3.2 Ghz x 4 Cores = 12800 RAM: 6 GB HDD: 80 GB SATA Power: 60 Watts ? Cost: $1,594.98 Ratio: 0.1246078125 So, it looks like after all, the good old Q6600 comes out on top. With a price/performance ratio of ~ 5 Cents/mhz, it beats the Core i7's ~ 12 cents/mhz, and even the Atom's ~ 7 cents/mhz! Guess you were right!
  14. I personally think its a great idea! The only question is what it would be used for ;) The Cluster should run Folding or Rendering within MOSIX on Damn Small Linux on the Mini-ITX Configuration shown below: Price per unit is exactly $251.91, including a power supply and Shipping.
  15. Sorry to point out the obvious, but: That said, if you purchase a $30.00 USD 16 GB SDHC Card ( http://www.amazon.com/Transcend-Memory-TS1...2532&sr=8-1 ), put it in the EEEpc's SD card slot, install Ubuntu on that with the default settings, and boot from it, you should be fine! TELL ME IF I'M WRONG!
  16. I rewrote the code again, this time using a library called PyIRClib. Now, it works! But, I need suggestions for more phrases! import pyirclib import string import sys import time import random def praise(): # Randomly Choose Something to Say RANDOM = random.randint(1,27) print('Praising Darren...') if RANDOM == 1: irc.privmsg('#hak5editcam', 'Darren is AWESOME!') elif RANDOM == 2: irc.privmsg('#hak5editcam', 'Darren is more BADASS then Evil Server!') elif RANDOM == 3: irc.privmsg('#hak5editcam', 'Darren is almost as HOT as Shannon!') elif RANDOM == 4: irc.privmsg('#hak5editcam', 'Darren is 1/10th as EPIC as Chuck Norris!') elif RANDOM == 5: irc.privmsg('#hak5editcam', 'Darren RULZ!!!11!!') elif RANDOM == 6: irc.privmsg('#hak5editcam', 'Darren is so 1337 he can ask Shannon to the Prom in person!') elif RANDOM == 7: irc.privmsg('#hak5editcam', 'If Darren were a flavor of linux he would be Ubuntu because he is very user FRIENDLY!') elif RANDOM == 8: irc.privmsg('#hak5editcam', 'When Darren does penetration testing, its more like BOMB-testing.') elif RANDOM == 9: irc.privmsg('#hak5editcam', 'Darrens pet Unicorn eats NAILS for breakfast.') elif RANDOM == 10: irc.privmsg('#hak5editcam', 'Al Gore didnt INVENT the interwebs, Darren Kitchen did.') elif RANDOM == 11: irc.privmsg('#hak5editcam', 'Hak5.org is a security-related site that MAY contain hacking tools or examples of malicious code written by Darren Kitchen.') elif RANDOM == 12: irc.privmsg('#hak5editcam', 'The NSA is looking for Darren because he BROKE their uncrackable encryption with a Nintendo DS.') elif RANDOM == 13: irc.privmsg('#hak5editcam', 'Evil Server once located and destroyed a Russian Supercomputer by itself. Darren taught him how.') elif RANDOM == 14: irc.privmsg('#hak5editcam', 'Darren totally PWNS at <insert name of game here>!') elif RANDOM == 15: irc.privmsg('#hak5editcam', 'Darrens cat Kerby is secretly a Ninja. *So THATS how all those darts got cut in half!*') elif RANDOM == 16: irc.privmsg('#hak5editcam', 'Darren can hack into a WPA-encrypted WIFI network with one hand tied behind his back.') elif RANDOM == 17: irc.privmsg('#hak5editcam', 'Darren has hex-edited iTunes to PAY him 99 cents every time he buys a song.') elif RANDOM == 18: irc.privmsg('#hak5editcam', 'Darren once made $40 in ONE second!') elif RANDOM == 19: irc.privmsg('#hak5editcam', 'Darren fell in LOVE with an Arduino Micro-Controller.') elif RANDOM == 20: irc.privmsg('#hak5editcam', 'Darren owns SIX more netbooks than the average American') elif RANDOM == 21: irc.privmsg('#hak5editcam', 'Darrens USB lockpick can pick Windows passwords, car doors, and COMBINATION LOCKS.') elif RANDOM == 22: irc.privmsg('#hak5editcam', 'Darren can make a whole sentance with the word BLEEP and a beer.') elif RANDOM == 23: irc.privmsg('#hak5editcam', 'Darren once stole the source code for Windows, but gave it back because he was in a good mood.') elif RANDOM == 24: irc.privmsg('#hak5editcam', 'Darren is the only person in the world that doesnt use Antivirus AND has a PC thats good as new') elif RANDOM == 25: irc.privmsg('#hak5editcam', 'Darren breaks into firewalls for fun.') elif RANDOM == 26: irc.privmsg('#hak5editcam', 'When Darren cracks a box, it doesnt fall apart, it explodes.') elif RANDOM == 27: irc.privmsg('#hak5editcam', 'Darren Kitchen: System Admin by Day; 1337 Hakzor by Night.') print('Connecting To IRC Server...') irc = pyirclib.Irclib('c.ustream.tv',6667) # Connect to Server irc.setDebug = 1 # For Debugging 1 = ON , 0 = OFF print('Logging In...') irc.login('DarrenFanBot',username = 'DarrenFanBot',realname = 'Made By dylanwinn') # Log In print('Joining Channel...') irc.join("#hak5editcam") # Join Channel print('Connected!') irc.privmsg("#hak5editcam", "IS IN THE HOUSE!") praise() # Praise Darren TIME = time.time() # Note Time while 1: if time.time() - TIME >= 3600: # Check Time TIME = time.time() # Reset Time print('Time to Praise Darren!') print('Connecting To IRC Server...') irc = pyirclib.Irclib('c.ustream.tv',6667) # Connect to Server print('Logging In...') irc.login('DarrenFanBot',username = 'DarrenFanBot',realname = 'Made By dylanwinn') # Log In print('Joining Channel...') irc.join("#hak5editcam") # Join Channel print('Connected!') praise() # Praise Darren
  17. That last code was hopeless, so I rewrote it: import sys import socket import string HOST='c.ustream.tv' #The server we want to connect to PORT=6667 #The connection port which is usually 6667 NICK='DarrenFanBot' #The bot's nickname IDENT='DarrenFanBot' #The thing used in place of an IP REALNAME='Owned By DylanWinn' #Obvious readbuffer='' #Here we store all the messages from server print ("Starting UP!") s=socket.socket( ) #Initilize Socket s.connect((HOST, PORT)) #Connect to Server print('Connecting...') s.send("NICK %s\r\n" % NICK) #Set Nick print('Verifing NICK...') s.send("USER %s %s bla :%s\r\n" % (IDENT, HOST, REALNAME)) # Set other User Info print('Verifing IDENT..') s.send("JOIN #hak5editcam \r\n") # Join Channel print('Joining Channel..') print ('Started') s.send("/me IS IN THE HOUSE! Type !praisedarren to activate me! \r\n")# Announce Presence TIME = 0 # Setup Timer RANDOM = 0 # Setup up Randomizer while 1: readbuffer=readbuffer+s.recv(1024) temp=string.split(readbuffer, "\n") readbuffer=temp.pop( ) for line in temp: line=string.rstrip(line) line=string.split(line) if line[0] == "PING": s.send("PONG %s\r\n" % line[1]) if line == '!praisedarren': #Check for a command print('I have been commanded to praise Darren! \n') RANDOM = rand(1,5) # Randomly choose Something to say if RANDOM == 1: s.send('Darren is AWESOME! \r\n') elif RANDOM == 2: s.send('Darren is more BADASS then Evil Server! \r\n') elif RANDOM == 3: s.send('Darren is almost as HOT a Shannon! \r\n') elif RANDOM == 4: s.send('Darren is 1/10th as EPIC as Chuck Norris! \r\n') print('I have satisfied myself by saying how awesome Darren is in a witty way!') # Praise Self Unfortunately, it does noting! no errors, nothing!
  18. Thanks! New Error! CODE: import sys import socket import string import time import threading HOST='c.ustream.tv' #The server we want to connect to PORT=6667 #The connection port which is usually 6667 NICK='DarrenFanBot' #The bot's nickname IDENT='awesomebot' #The thing used in place of an IP REALNAME='This is a Bot' #Obvious OWNER='dylanwinn' #The bot owner's nick CHANNELINIT='#hak5editcam' #The default channel for the bot readbuffer='' #Here we store all the messages from server def syscmd(commandline,channel): cmd=commandline.replace('sys ','') cmd=cmd.rstrip() os.system(cmd+' >temp.txt') a=open('temp.txt') ot=a.read() ot.replace('n','|') a.close() s.send('PRIVMSG '+channel+' :'+ot+'n') return 0 s=socket.socket( ) #Create the socket s.connect((HOST, PORT)) #Connect to server s.send('USER '+IDENT+' '+HOST+' bla :'+REALNAME+'n') #Identify to server print('Connecting to IRC Server...') CONNECTED = 0 while 1: line=s.recv(500) #recieve server messages print line #prints server backtalk readbuffer=readbuffer+s.recv(1024) temp=string.split(readbuffer, "\n") readbuffer=temp.pop( ) if(line[0]=="PING"): print('FOUND Server!') s.send("PONG %s\r\n" % line[1]) print('Ping!') if line.find('ERROR*'): print('FATAL ERROR: SERVER REFUSED CONNECTION!!!') CONNECTED = 0 sys.exit() s.send('JOIN '+CHANNELINIT+'\n') #Join a channel s.send('NICK '+NICK+'\n') #Send the nick to server print('Joining channel!') CONNECTED = 1 print('Connected!') else: CONNECTED = 0 print('Retrying...') while CONNECTED == 1: RANDOM=rand(1,5) # Choose something to say if RANDOM == 1: s.send('Darren is AWESOME!') elif RANDOM == 2: s.send('Darren is more BADASS then Evil Server!') elif RANDOM == 3: s.send('Darren is almost as HOT a Shannon!') elif RANDOM == 4: s.send('Darren is 1/10th as EPIC as Chuck Norris!') elif RANDOM == 5: s.send('You Just LOST THE GAME! Darren CANT LOOSE any game!') print('I have satisfied myself by saying how awesome Darren is in a witty way!') time.sleep(900) #Wait 15 minnutes, then repeat ERROR: >>> ================================ RESTART ================================ >>> Connecting to IRC Server... ERROR :Closing Link: [70.181.152.203] (Ping timeout) Retrying... Traceback (most recent call last): File "C:\Python24\DarenIsAwesomeIRCbot", line 40, in -toplevel- if(line[0]=="PING"): IndexError: string index out of range >>>
  19. Thanks! I figured that out myself, though! (Probably should have told someone) NEW CODE: import sys import socket import string import time HOST='chat1.ustream.tv' #The server we want to connect to PORT=6667 #The connection port which is usually 6667 NICK='darrenbot' #The bot's nickname IDENT='awesomebot' REALNAME='This is a Bot' OWNER='dylanwinn' #The bot owner's nick CHANNELINIT='#hak5editcam' #The default channel for the bot readbuffer='' #Here we store all the messages from server def syscmd(commandline,channel): cmd=commandline.replace('sys ','') cmd=cmd.rstrip() os.system(cmd+' >temp.txt') a=open('temp.txt') ot=a.read() ot.replace('n','|') a.close() s.send('PRIVMSG '+channel+' :'+ot+'n') return 0 s=socket.socket( ) #Create the socket s.connect((HOST, PORT)) #Connect to server s.send('NICK '+NICK+'n') #Send the nick to server s.send('USER '+IDENT+' '+HOST+' bla :'+REALNAME+'n') #Identify to server print('Connecting to IRC Server...') CONNECTED = 0 while CONNECTED ==0 : line=s.recv(500) #recieve server messages print line #prints server backtalk if line.find('PING'): #If server pings then pongs print('FOUND Server!') print('Ping!') s.send('PONG '+line[1]+'n') if line.find('ERROR*'): print('FATAL ERROR: SERVER REFUSED CONNECTION!!!') CONNECTED = 0 sys.exit() s.send('JOIN '+CHANNELINIT+'n') #Join a channel print('Joining channel!') CONNECTED = 1 print('Connected!') else: CONNECTED = 0 Print('Retrying...') while CONNECTED == 1: RANDOM=rand(1,5) # Choose something to say if RANDOM == 1: s.send('Darren is AWESOME!') elif RANDOM == 2: s.send('Darren is more BADASS then Evil Server!') elif RANDOM == 3: s.send('Darren is almost as HOT a Shannon!') elif RANDOM == 4: s.send('Darren is 1/10th as EPIC as Chuck Norris!') elif RANDOM == 5: s.send('You Just LOST THE GAME! Darren CANT LOOSE any game!') print('I have satisfied myself by saying how awesome Darren is in a witty way!') time.sleep(900) #Wait 15 minnutes, then repeat NEW ERROR: >>> ================================ RESTART ================================ >>> Connecting to IRC Server... ERROR :Closing Link: [70.181.152.203] (Ping timeout) FOUND Server! Ping! FATAL ERROR: SERVER REFUSED CONNECTION!!! Traceback (most recent call last): File "C:\Python24\DarenIsAwesomeIRCbot", line 44, in -toplevel- sys.exit() SystemExit >>> Ignore the SysExit not working, the real error is the Ping Timeout! I have found that I am doing the ping response incorrectly... ANYONE THAT KNOWS HOW IRC WORKS, HOW DO I RESPOND TO THE PING?
  20. Thanks! But, I now have another issue: import sys import socket import string import time HOST='chat1.ustream.tv' #The server we want to connect to PORT=6667 #The connection port which is usually 6667 NICK='darrenbot' #The bot's nickname IDENT='awesomebot' REALNAME='Darrren Is Awesome' OWNER='dylanwinn' #The bot owner's nick CHANNELINIT='#hak5editcam' #The default channel for the bot readbuffer='' #Here we store all the messages from server def syscmd(commandline,channel): cmd=commandline.replace('sys ','') cmd=cmd.rstrip() os.system(cmd+' >temp.txt') a=open('temp.txt') ot=a.read() ot.replace('n','|') a.close() s.send('PRIVMSG '+channel+' :'+ot+'n') return 0 s=socket.socket( ) #Create the socket s.connect((HOST, PORT)) #Connect to server s.send('NICK '+NICK+'n') #Send the nick to server s.send('USER '+IDENT+' '+HOST+' bla :'+REALNAME+'n') #Identify to server print('Connecting to server') time.sleep(5) s.send('JOIN '+CHANNELINIT+'n') #Join a channel print('Joining channel') line=s.recv(500) #recieve server messages if(line.find('PING') #If server pings then pongs s.send('PONG '+line[1]+' :'+ot+'n') print('PINGED!') print('Connected!') while 1: line=s.recv(500) #recieve server messages print line #server message is output if line.find('PRIVMSG')!=-1: #Call a parsing function parsemsg(line) line=line.rstrip() #remove trailing 'rn' line=line.split() if(line[0]=='PING'): #If server pings then pong s.send('PONG '+line[1]+'n') print('PINGED!') while 1: s.send('Darren is awesome') print('Darren is awsome') time.sleep(60) It says there is a syntax error on this line: s.send('PONG '+line[1]+' :'+ot+'n') Help?
  21. This bot is intended to say "Darren is Awesome!" every so often! CODE: import sys import socket import string import os #not necassary but later on I am going to use a few features from this HOST='chat1.ustream.tv' #The server we want to connect to PORT=6667 #The connection port which is usually 6667 NICK='darrenbot' #The bot's nickname IDENT='awesomebot' REALNAME='Darrren Is Awesome' OWNER='dylanwinn' #The bot owner's nick CHANNELINIT='#hak5editcam' #The default channel for the bot readbuffer='' #Here we store all the messages from server def syscmd(commandline,channel): cmd=commandline.replace('sys ','') cmd=cmd.rstrip() os.system(cmd+' >temp.txt') a=open('temp.txt') ot=a.read() ot.replace('n','|') a.close() s.send('PRIVMSG '+channel+' :'+ot+'n') return 0 s=socket.socket( ) #Create the socket s.connect((HOST, PORT)) #Connect to server s.send('NICK '+NICK+'n') #Send the nick to server s.send('USER '+IDENT+' '+HOST+' bla :'+REALNAME+'n') #Identify to server s.send('JOIN '+CHANNELINIT+'n') #Join a channel while 1: if(line[0]=='PING'): #If server pings then pong s.send('PONG '+line[1]+'n') time.sleep(60) s.send('Darren is awesome') ERROR: IDLE 3.0 >>> ================================ RESTART ================================ >>> Traceback (most recent call last): File "C:/Python30/bot", line 28, in <module> s.send('NICK '+NICK+'n') #Send the nick to server TypeError: send() argument 1 must be string or buffer, not str >>> The error doesn't seem to make sense! Isn't a string the same a STR?
×
×
  • Create New...