Skip to content
This repository has been archived by the owner on Jul 26, 2020. It is now read-only.

This project is a python module to interact with 'SWEETMON' project.

License

Notifications You must be signed in to change notification settings

sweetchipsw/sweetmon_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SWEETMON-client

This project is a python module to interact with 'SWEETMON' project.

Fuzz testers can adapt their fuzzer easily.

Fast Install & Usage

Prerequirement

Clone project

  • git clone https://github.com/sweetchipsw/sweetmon_client.git

Get token from sweetmon

  1. Please fill the contents in config.py. (Important)

    FUZZER_NAME = "" # AWESOMEFUZZER
    FUZZING_TARGET = "" # Weak_application
    BINARY = "" # your_fuzzer
    SERVER_URL = "" # sub.domain.com / 127.0.0.1
    SERVER_PROTOCOL = "https://" # or http:https://
  2. Find your Userkey in your profile.

  3. Run install.py

  4. $ python install.py
    [*] Create new Configuration file
    [*] Input your userkey to access SWEETMON.. (You can find your key at your profile)
    Password:
    [*] Success, Your token is : d9a93042e67459df842c3b429a742790b805c056
  5. Now you can adapt sweetmon-client for your fuzzer.

Example

  1. Simple Test

    from sweetmon import *
    
    # Init
    F = Fuzzer()
    
    # F.Ping()
    print("PING Test", F.Ping()) # Ping to server
    
    # Upload("Title string", "Log string", "/Crash/location")
    print("Upload Test", F.Upload("AddressSanitizer: heap-buffer-overflow ...", "LOG Contents", "./sweetfuzz/crash/crash1"))
    
    print("END OF TEST..")

Files

  • config.py : Configuration file.
  • install.py : Install dependencies and regist fuzzer to the server.
  • sweetmon.py : Core script / API

Information

# YOU CAN MODIFY GLOBAL INFO
GLOBALINFO = {
	"SERVER_URL" : SERVER_URL, # Sweetmon
	"SERVER_PROTOCOL" : SERVER_PROTOCOL, # Protocol, Default
	"TIME_PING" : 60 # Sec (Seconds)
}

# DO NOT MODIFY FUZZERINFO
FUZZERINFO = {
	# Fill Automatic
	"FUZZERNAME":FUZZER_NAME,
	"TARGET":FUZZING_TARGET,
	"OWNER":"",
	"CURRENT_DIR":"",
	"TOKEN":"",
	"MACHINE" : {
		"OS" : None,
		"IP_PUB" : "",
		"IP_PRI" : "",
	},
}

About

This project is a python module to interact with 'SWEETMON' project.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages