• 3 Posts
  • 17 Comments
Joined 2 years ago
cake
Cake day: June 15th, 2023

help-circle

  • Bogus5553@lemm.eetoProgrammer Humor@lemmy.mlunsafeCode
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    11 days ago

    void main(){...} is not in the standard, but works on both MSVC and GCC (with warnings). I think it works on both C/C++, but you really shouldn’t use it in production. Just use int main(void){...} , without any return value, which is permitted in the standard, and will return success iirc.

















  • from random import uniform
    from time import sleep
    
    target = input("Enter target to hack:")
    
    print(f'--Hacking {target}--')
    print('initiating ~~anal penetration~~ backdoor entry')
    
    for progress in range(0,100,20):
        print(f'Hacking {target}: {progress}%')
        sleep(uniform(1,3))
    print(f'{target} hacked successfully')