Module Import alias Import alias Import alias Import alias If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr Str TryFinally body TryExcept body While Num body Print Str Print Str While Num body Assign NameStore Call NameLoad Str If CompareNotEq NameLoad Str body Break Print Str While Num body Assign NameStore Call NameLoad Str If UnaryOpNot CompareIn Str NameLoad body If CompareNotEq NameLoad Str body Break Print Str While Num body Assign NameStore Call NameLoad Str If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str body If CompareEq NameLoad Str body Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str If CompareEq NameLoad Str body Assign NameStore Str Assign NameStore Str Break Print Str While Num body Assign NameStore Call NameLoad Str If CompareNotEq NameLoad Str body Break Print Str While Num body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareNotEq NameLoad Str body Break Print Str While Num body Assign NameStore Call NameLoad Str If CompareNotEq NameLoad Str body Break Assign NameStore Call NameLoad Str If CompareEq NameLoad Str body Break If BoolOpOr CompareEq NameLoad Str CompareEq Call AttributeLoad NameLoad attr Str CompareEq NameLoad Str body Print Str Print Str Expr Call AttributeLoad NameLoad attr Num If Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str NameLoad body Assign NameStore Call NameLoad Str If CompareEq NameLoad Str body Break If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad Print Str Expr Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad Print BinOpAdd Str NameLoad Print Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Print Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Print Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Print Str Print Str Expr Call AttributeLoad NameLoad attr Str BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str BinOpMod Str NameLoad Assign NameStore Call NameLoad BinOpMod Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Print BinOpMod Str NameLoad Break handlers ExceptHandler type NameLoad name NameStore body Print BinOpAdd Str Call NameLoad NameLoad ExceptHandler type NameLoad body Print Str Print Str finalbody Print Str
N/A N/A shutil N/A getpass N/A time N/A os N/A N/A N/A N/A N/A os path isdir conferences/ N/A N/A N/A N/A os mkdir conferences/ N/A N/A N/A N/A N/A 1 N/A N/A 
Welcome to the ConQR Conference Setup Tool. This tool will walk you
through setting up a new conference and generate everything you will
need in order to setup the conference.

Please take a moment to walk through these steps in order to setup the
conference. N/A 
First things first, what is the name of the conference, as an example "DerbyCon 3.0" N/A 1 N/A N/A con_name N/A raw_input 
[-] Enter the name of the conference:  N/A N/A con_name N/A N/A N/A 
Great! Thanks. Now we need to know what name to store the conference as. This will
ultimately be under the conferences/ directory in the ConQR folder root.

This can only be one word, so for example derbycon3 N/A 1 N/A N/A conference_folder N/A raw_input 
[-] Enter the name to store under the conferences folder:  N/A N/A N/A conference_folder N/A N/A N/A conference_folder N/A N/A N/A 
Now we need to know if you are using your own mail server or gmail.

1. I'm using my own mail server.
2. I'm using Gmail
 N/A 1 N/A N/A mail_handler N/A raw_input [-]Enter number 1 or number 2 for mail provider:  N/A N/A N/A mail_handler 1 N/A mail_handler 2 N/A N/A N/A mail_handler 1 N/A N/A mailserver N/A raw_input Enter the smtp address of the mail server:  N/A port N/A raw_input Enter the port of the mail server:  N/A N/A mail_handler 2 N/A N/A mailserver smtp.gmail.com N/A port 587 N/A N/A 
Enter the username to authenticate to the server, i.e. gmail pwd or your own mail server (can be an email addy)
 N/A 1 N/A N/A username N/A raw_input Enter the username to authenticate to the mail server:  N/A N/A username N/A N/A N/A 
Next we need the password for the account. NOTE that this is STORED in clear inside the conference folder.
 N/A 1 N/A N/A password N/A N/A getpass getpass Enter the password for the mail server (will not show on screen):  N/A N/A password N/A N/A N/A 
Enter the conference dates in whatever format you want, this will be sent in the standard email template (can change this later)
 N/A 1 N/A N/A date N/A raw_input Enter the dates for the conference (example September 25 - September 29, 2013):  N/A N/A date N/A N/A N/A create_con N/A raw_input Okay. That's everything we needed. Are you ready to create the conference? [y/n]:  N/A N/A create_con n N/A N/A N/A N/A N/A create_con N/A N/A N/A create_con lower y N/A create_con yes N/A N/A                                                          
  ,----..                           ,----..              
 /   /   \                         /   /   \             
|   :     :  ,---.        ,---,   /   .     :    __  ,-. 
.   |  ;. / '   ,'\   ,-+-. /  | .   /   ;.  \ ,' ,'/ /| 
.   ; /--` /   /   | ,--.'|'   |.   ;   /  ` ; '  | |' | 
;   | ;   .   ; ,. :|   |  ,"' |;   |  ; \ ; | |  |   ,' 
|   : |   '   | |: :|   | /  | ||   :  | ; | ' '  :  /   
.   | '___'   | .; :|   | |  | |.   |  ' ' ' : |  | '    
'   ; : .'|   :    ||   | |  |/ '   ;  \; /  | ;  : |    
'   | '/  :\   \  / |   | |--'   \   \  ',  . \|  , ;    
|   :    /  `----'  |   |/        ;   :      ; |---'     
 \   \ .'           '---'          \   \ .'`--"          
  `---`                             `---`                 N/A [*] Prepping the directories needed for the conference. N/A N/A N/A time sleep 1 N/A N/A N/A N/A os path isdir N/A conferences/ conference_folder N/A N/A choice1 N/A raw_input [-] Old conference detected, do you want to delete it [y/n]:  N/A N/A choice1 n N/A N/A N/A N/A choice1 y N/A N/A N/A N/A shutil rmtree N/A conferences/ conference_folder N/A [*] Okay removing the directories... N/A N/A N/A os mkdir N/A conferences/ conference_folder N/A N/A N/A N/A os mkdir N/A conferences/ conference_folder N/A N/A [*] Finished creating a new folder under conferences/ conference_folder N/A [*] Creating necessary file and folder structures... N/A N/A N/A os mkdir N/A conferences/%s/database conference_folder N/A [*] Created database folder, this will store the attendees. N/A N/A N/A os mkdir N/A conferences/%s/configuration conference_folder N/A [*] Creating the configuration directory, this will be used for your config. N/A N/A N/A os mkdir N/A conferences/%s/src conference_folder N/A [*] Created the src directory, used for housing the main application. N/A [*] We have all of the necessary files, now writing out everything we need. N/A N/A N/A shutil copy src/core.py N/A conferences/%s/src/ conference_folder N/A N/A N/A shutil copy src/conqr.py N/A conferences/%s/ conference_folder N/A N/A N/A shutil copy src/qrcode_server.py N/A conferences/%s/src conference_folder N/A N/A N/A shutil copy src/__init__.py N/A conferences/%s/src conference_folder N/A N/A N/A shutil copy src/qrcode.py N/A conferences/%s/src conference_folder N/A filewrite N/A file N/A conferences/%s/configuration/config conference_folder w N/A N/A N/A filewrite write N/A 
#
# ConQR automatic configuration file. This contains all of the information 
# needed in order to use the ConQR applicaton successfully
#
#
# SMTP USERNAME
SMTP_USER="%s"
# SMTP PASSWORD
SMTP_PASS="%s"
# SMTP SERVER ADDRESS
SMTP_SERVER="%s"
# PORT FOR SMTP SERVER
SMTP_PORT="%s"
# MAIN SPEAKER TEMPLATE
SPEAKER_TEMPLATE="Greetings!\n\nYou have been accepted to speak at %s. Attached is your QRCode and your ticket to the conference and your way to receive your speaker package.\n\nYou can either have this displayed on a phone or printed out when registering.\n\nThank you for the submission and we look forward to your talk!\n\nThe %s Team\n\nConference dates: %s"
# MAIN SPEAKER SUBJECT
SPEAKER_SUBJECT="Congratulations! You have been accepted to speak at %s!"
# MAIN ATTENDEE TEMPLATE
ATTENDEE_TEMPLATE="Greetings!\n\nYou have been successfully registered for %s. The attached QRCode is your ticket into the conference. Don't loose this or you will not be able to gain access to the conference. \n\nYou can have the attached QRCode on an electronic device such as a phone, or printed out in order to register at the door.\n\nWe look forward to a successful year and look forward to seeing you!\n\nThe %s Team\n\nConference Dates: %s"
# MAIN ATTENDEE SUBJECT 
ATTENDEE_SUBJECT="%s conference ticket confirmation enclosed."
# MAIN SPONSOR TEMPLATE 
SPONSOR_TEMPLATE="Greetings!\n\nAttached is your sponsorship QRCode for the conference. This QRCode acts as your ticket into the conference, so please don't loose it!\n\nThank you for the sponsorship to %s and look forward to seeing you!\n\nSincerely, \n\nThe %s Team\n\nConference Dates: %s"
# MAIN SPONSOR SUBJECT
SPONSOR_SUBJECT="%s sponsor tickets and instructions contained in this email!"
# CONFERENCE FOLDER
CONFERENCE_FOLDER="%s"

			 N/A username password mailserver port con_name con_name date con_name con_name con_name date con_name con_name con_name date con_name conference_folder N/A N/A N/A filewrite close N/A N/A [*] Finished! Congratulations. Now navigate to the conferences/%s directory and run conqr.py conference_folder N/A N/A N/A N/A Exception N/A e N/A N/A N/A Something went wrong, printing the error:  N/A str e N/A N/A KeyboardInterrupt N/A N/A 

[*] Exiting the ConQR system, thanks for shopping with us. N/A 
[*] Visit us at https://www.trustedsec.com N/A N/A [*] Thanks for using the ConQR generator. Please visit https://www.trustedsec.com for more goodness.