Size: a a a

2021 March 07

DL

Daniyar Lyakhov in Python KZ
Мощный генератор запросов с Python из 18 строк

Автор статьи поделился своей короткой, но мощной реализацией генератора запросов на Python с использованием asyncio и aiohttp. Всего 18 строк кода способны генерировать по 1000 запросов в минуту.

Здесь вы найдёте не только сам код генератора, но и подробное описание его работы:

https://tprg.ru/cdB2
источник

•Ǥus†สff• in Python KZ
Daniyar Lyakhov
Мощный генератор запросов с Python из 18 строк

Автор статьи поделился своей короткой, но мощной реализацией генератора запросов на Python с использованием asyncio и aiohttp. Всего 18 строк кода способны генерировать по 1000 запросов в минуту.

Здесь вы найдёте не только сам код генератора, но и подробное описание его работы:

https://tprg.ru/cdB2
Это типо ддудос?
источник

Ɋ

Ɋ山乇尺ㄒㄚ in Python KZ
•Ǥus†สff•
Это типо ддудос?
может это BRUTEFORSE
источник

SB

Sultan Baizhuminov in Python KZ
•Ǥus†สff•
Это типо ддудос?
Можешь проверить устойчивость своего серва к ддудосу
источник

Ɋ

Ɋ山乇尺ㄒㄚ in Python KZ
Брутфорс это генерирования паролей
источник

D

Darkhan in Python KZ
Ɋ山乇尺ㄒㄚ
Брутфорс это генерирования паролей
источник

R

Reffi_4 in Python KZ
Ɋ山乇尺ㄒㄚ
Брутфорс это генерирования паролей
А как параллельная отправка хттп запросов связана с перебором паролей?
источник

KS

Kirill Serebrennikov in Python KZ
Ɋ山乇尺ㄒㄚ
Брутфорс это генерирования паролей
🗿
источник

R

Reffi_4 in Python KZ
Reffi_4
А как параллельная отправка хттп запросов связана с перебором паролей?
*в данном контексте
источник

ПВ

Помощь Вам in Python KZ
import vrep
import numpy as np
import time
import numpy as np
import matplotlib.pyplot as plt
import math
from mpl_toolkits import mplot3d
print("Program Started")

vrep.simxFinish(-1)


SimulationTime = 10 # in seconds
angX = 0
angY = 0
angMag = 0
robotMode = 0

# Connecting to V-REP Scene
clientID = vrep.simxStart('127.0.0.1', 19997, True, True, 5000, 5)
if clientID != -1:
       print("Connected to remote API server")

       # Launching simulation
       vrep.simxStartSimulation(clientID, vrep.simx_opmode_oneshot)

       # Simple terminal UI
       while True:
               robotMode = input("Choose robot mode or quit (q): 0 - Move To Target, 1 - Circular Path: ")
               if robotMode == 'q':
                       break
               vrep.simxSetIntegerSignal(clientID, "robotMode", int(robotMode), vrep.simx_opmode_oneshot)
               current_x=0
               current_y=0
               current_z=0
               fig = plt.figure(figsize =(14, 9))
               ax = plt.axes(projection ='3d')
                 
               # Creating color map
               my_cmap = plt.get_cmap('hot')
               # Mode of robot that allows to control its target angular position
               if int(robotMode) == 0:

                       # Sending signal for choice functionality
                       
                       vrep.simxSetIntegerSignal(clientID, "angX", 0, vrep.simx_opmode_oneshot)
                       vrep.simxSetIntegerSignal(clientID, "angY", 0, vrep.simx_opmode_oneshot)
                       i=-90
                       for i in range (-90,90,1):

                               for j in range (-90,90,1):
                                       
                                       #angX = input("Enter target angle around X-axis: ")
                                       angX=i
                                       if angX == 'q':
                                               break
                                       #angY = input("Enter target angle around Y-axis: ")
                                       angY=j
                                       if angY == 'q':
                                               break
                                       
                                       
                                       # Sending target position to the Robot
                                       vrep.simxSetIntegerSignal(clientID, "angX", int(angX), vrep.simx_opmode_oneshot)
                                       vrep.simxSetIntegerSignal(clientID, "angY", int(angY), vrep.simx_opmode_oneshot)
                                       [r,h]=vrep.simxGetObjectHandle(clientID,'Platform_shape0',vrep.simx_opmode_blocking)
                                       positions=vrep.simxGetObjectPosition(clientID,h,-1,vrep.simx_opmode_oneshot)
                                       print(positions)
                                       
                                       xa=np.linspace(current_x,positions[1][0])
                                       current_x=positions[1][0]
                                       ya=np.linspace(current_y,positions[1][1])
                                       current_y=positions[1][1]
                                       za=np.linspace(current_z,positions[1][2])
                                       current_y=positions[1][1]
                                       plt.plot(positions[1][0],positions[1][1],positions[1][2])
                                       #
источник

ПВ

Помощь Вам in Python KZ
Помощь Вам
import vrep
import numpy as np
import time
import numpy as np
import matplotlib.pyplot as plt
import math
from mpl_toolkits import mplot3d
print("Program Started")

vrep.simxFinish(-1)


SimulationTime = 10 # in seconds
angX = 0
angY = 0
angMag = 0
robotMode = 0

# Connecting to V-REP Scene
clientID = vrep.simxStart('127.0.0.1', 19997, True, True, 5000, 5)
if clientID != -1:
       print("Connected to remote API server")

       # Launching simulation
       vrep.simxStartSimulation(clientID, vrep.simx_opmode_oneshot)

       # Simple terminal UI
       while True:
               robotMode = input("Choose robot mode or quit (q): 0 - Move To Target, 1 - Circular Path: ")
               if robotMode == 'q':
                       break
               vrep.simxSetIntegerSignal(clientID, "robotMode", int(robotMode), vrep.simx_opmode_oneshot)
               current_x=0
               current_y=0
               current_z=0
               fig = plt.figure(figsize =(14, 9))
               ax = plt.axes(projection ='3d')
                 
               # Creating color map
               my_cmap = plt.get_cmap('hot')
               # Mode of robot that allows to control its target angular position
               if int(robotMode) == 0:

                       # Sending signal for choice functionality
                       
                       vrep.simxSetIntegerSignal(clientID, "angX", 0, vrep.simx_opmode_oneshot)
                       vrep.simxSetIntegerSignal(clientID, "angY", 0, vrep.simx_opmode_oneshot)
                       i=-90
                       for i in range (-90,90,1):

                               for j in range (-90,90,1):
                                       
                                       #angX = input("Enter target angle around X-axis: ")
                                       angX=i
                                       if angX == 'q':
                                               break
                                       #angY = input("Enter target angle around Y-axis: ")
                                       angY=j
                                       if angY == 'q':
                                               break
                                       
                                       
                                       # Sending target position to the Robot
                                       vrep.simxSetIntegerSignal(clientID, "angX", int(angX), vrep.simx_opmode_oneshot)
                                       vrep.simxSetIntegerSignal(clientID, "angY", int(angY), vrep.simx_opmode_oneshot)
                                       [r,h]=vrep.simxGetObjectHandle(clientID,'Platform_shape0',vrep.simx_opmode_blocking)
                                       positions=vrep.simxGetObjectPosition(clientID,h,-1,vrep.simx_opmode_oneshot)
                                       print(positions)
                                       
                                       xa=np.linspace(current_x,positions[1][0])
                                       current_x=positions[1][0]
                                       ya=np.linspace(current_y,positions[1][1])
                                       current_y=positions[1][1]
                                       za=np.linspace(current_z,positions[1][2])
                                       current_y=positions[1][1]
                                       plt.plot(positions[1][0],positions[1][1],positions[1][2])
                                       #
Как 3д plot сделать позиций?
источник

G

Galymzhan in Python KZ
Есть кто делает задание от школы бэкенд разработки Яндекса?
источник

BA

Bauka Alimgazy in Python KZ
Galymzhan
Есть кто делает задание от школы бэкенд разработки Яндекса?
На чем они пишут?
источник

KS

Kirill Serebrennikov in Python KZ
Bauka Alimgazy
На чем они пишут?
Python
источник

BA

Bauka Alimgazy in Python KZ
Galymzhan
Есть кто делает задание от школы бэкенд разработки Яндекса?
Если на фласк то могу сделать
источник

G

Galymzhan in Python KZ
Bauka Alimgazy
Если на фласк то могу сделать
Ещё скажи за $)))
источник

BA

Bauka Alimgazy in Python KZ
Galymzhan
Ещё скажи за $)))
естественно
источник

G

Galymzhan in Python KZ
Ну смотри еслиб ты был реально крутым разрабом то не ты должен был меня находить а я тебя
источник

BA

Bauka Alimgazy in Python KZ
Galymzhan
Ну смотри еслиб ты был реально крутым разрабом то не ты должен был меня находить а я тебя
Тогда иди в хед хантер
источник

R

Reffi_4 in Python KZ
Bauka Alimgazy
Тогда иди в хед хантер
Звучит как оскорбление)
источник