d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Fun With Python > "ghot" Techsupport Bot!
Add Reply New Topic New Poll
Member
Posts: 10,812
Joined: Oct 15 2009
Gold: Locked
Warn: 20%
May 17 2013 06:43pm
3rd time is a charm ;)
Code

from random import choice

def GenerateRandomGhotResponse():
   RandomGhotResponse=[]
   temp_list = List_of_Posible_Responses[:]
   for i in range (1,4):
       index = range(len(temp_list))
       j = choice(index)
       RandomGhotResponse.append(str(i)+'. ' + temp_list[j])
       temp_list.pop(j)
   return RandomGhotResponse
 
List_of_Posible_Responses=[
'Get Mini-Tools Partition Wizard boot CD here: <CENSORED>,
'Use IMGBurn here: <CENSORED> ...to burn the "Partition Wizard Boot CD" .iso to a CD or DVD (has to be blank)',
'Boot your Craiglist comp, from the Partition Wizard Boot CD....delete any and all partitions on the Hard drive.',
'For now, just use Partition Wizard to create, one big partition that takes up the whole HDD.',
'Then try to install w/e Operating System you want. '
'Get CCleaner here: <CENSORED> from the Prirform link. Install it and run both the CLEANER and the Registry Scanner, remove w/e IT finds.'
'Get SPECCY here: <CENSORED> ...get the FREE version from the: Piriform Link ...Speccy is a really nice system hardware information Utility....simply install it...and run the program...then post a screen shot of the main page of the program.'
'Run a command prompt "As Admin" and type this command: chkdsk c: /r',
'True, but rootkits, trojans etc, that can "grow" to infect other files can still perform, even after a format',
'Ofc all root kits aren\'t stored on the HDD but many are....as you well know most are stored in the kernel.',  
'Trojans and virus are NOT like programs, all do not NEED to be executed, to infect a formatted drive.']
 
#Computer_Query=raw_input('Enter your Computer question here, and press ENTER\n')
for response in GenerateRandomGhotResponse():
   print response
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll