Jump to content

TheLaughingMan

Active Members
  • Posts

    92
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by TheLaughingMan

  1. One thing I did is white list the address ranges for your ISP and VPN for SSH use. That way it would only be accessible from your local area, or through your VPN. That significantly reduced the number of logs coming in from hosts abroad.

    I did this by messing with the /etc/hosts.allow and /etc/hosts.deny files.

    But you did this with your own vpn and not a 3rd party vpn correct?

  2. Above post sums it up pretty much. SSH, SFTP, SCP, TLS/HTTPS usage, VPNs and IP restrictions work well and if not possible to use shell access over SSH, maybe setting up some form of two factor authentication so no one can get in without say a sent passphrase/onetime key sent to your phone or email(securely), or use of things like a YubiKey/smartcards.

    Can RSA tokens be use for the two way factor authenication. Plus is it compatable with SSH. I know with vpn is it but not sure with SSH and scp

  3. So it is late and i am trying to find this issue out with this code for my class. Anyone that can help, I would so need right now.

    hear is the code:

    import random
    import time


    def get_letter_grade(percentage):
    if percentage >= 95:
    letter_grade = "A"
    return (letter_grade)
    if percentage >= 94:
    letter_grade = "A-"
    if percentage >= 91:
    letter_grade = "B+"
    if percentage >= 88:
    letter_grade = "B"
    if percentage >= 85:
    letter_grade = "B-"
    if percentage >= 82:
    letter_grade = "C+"
    if percentage >= 79:
    letter_grade = "C"
    if percentage >= 76:
    letter_grade = "C-"
    if percentage >= 73:
    letter_grade = "D+"
    if percentage >= 70:
    letter_grade = "D"
    if percentage >= 67:
    letter_grade = "D-"
    if percentage >= 65:
    letter_grade = "F"

    return (letter_grade)

    def get_grade_number(grade):
    grade = int(grade)
    get_letter_grade()

    def opt(grade,percentage):
    opt = int(get_letter_grade,get_grade_number)
    return (letter_grade)


    grade = 0

    def menu():
    print ("1: Enter grade in percentage (0-100)")
    print ("2: Get letter grade from percentage grade")
    print ("3: Calculate letter from extra credit")
    print ("4: Calculate extra credit needed to boost letter grade")
    print ("0: Exit ")
    print (("Current Grade:"),(grade))


    loop = 1

    while loop ==1:
    choice = menu()
    choice = input ("Please make a choice: ")
    choice = int(choice)

    if choice == 1:
    grade = input(" Enter percentage grade (0-100)?:")

    elif choice == 2:
    percentage = (opt)
    opt =((get_letter_grade,get_grade_number), print (percentage))


    basicly it a menu thing seen on this video :http://www.screencast.com/t/ZonV3w5Y7

    but I am stuck at the part were trying to get the grade letter within the code.

    I do not knwo what i am doing wrong with it so any help I baddly need.

    Not sure how to do the when u get the % grade trying to get elif choice == 2 to work when it displays the letter grade.

    thoughts on this?

  4. not sure what it will be internestion to see what and how it play with halo 4....currenly saving up for the assassian creed game that comes out next month

  5. what is the router that is use for this.

    I just recently buy a fon 2100 and just did the flash to jasager software...to really understand the project i want to go back and do all 3 1.0(fon2100) 2.0(???) 3.0 ( akfa router)

    so i already did 1.0 so now want to know about the router for 2.0 so i can get that and flash it to help better understand the jasager project...i have already learn alot by flashing the 1.0 and want to learn more..heheheh

    i think 2.0 uses open-mesh router correct or is it something else

×
×
  • Create New...