Level 01 25 login to the linux trainer:
trainer.threatsims.com 167.71.187.239
username: level0 password: level0
The password will be the login to level1
| import os | |
| def filterExtensions(file): | |
| # change this extension to whatever you need expunged from the directory | |
| filter = ".flac" | |
| if file.endswith(filter): | |
| return True | |
| else: | |
| return False |
Level 01 25 login to the linux trainer:
trainer.threatsims.com 167.71.187.239
username: level0 password: level0
The password will be the login to level1
| { | |
| "api_key": "ASDF", | |
| "phone": "(804) 404-3070", | |
| "first_name":"ima", | |
| "audioTrim":{ | |
| "start":"00", | |
| "stop":"45" | |
| }, | |
| "audio_overwrite": true, | |
| "audio": "https://youtu.be/7ysFgElQtjI" |
| export PS1="CMP_NAME @\w >_ " | |
| alias rmf='rm -rf' | |
| alias ls='ls -F' | |
| alias apache='sudo apachectl' | |
| alias svim='sudo vim' | |
| #mvn nonsense on terminal startup |
| sudo launchctl unload /Library/LaunchDaemons/com.webroot.security.mac.plist; | |
| sudo kextunload /System/Library/Extensions/SecureAnywhere.kext; | |
| sudo rm /usr/local/bin/WSDaemon; | |
| sudo rm /usr/local/bin/WFDaemon; | |
| sudo killall -9 WSDaemon; | |
| sudo killall -9 WfDaemon; | |
| sudo killall -9 "Webroot SecureAnywhere"; | |
| sudo rm -rf /System/Library/Extensions/SecureAnywhere.kext; | |
| sudo rm -rf "/Applications/Webroot SecureAnywhere.app"; | |
| sudo rm /Library/LaunchAgents/com.webroot.WRMacApp.plist; |
| from pyogg import VorbisFile | |
| from pygame import mixer | |
| # path to your audio | |
| path = "./file.ogg" | |
| # an object representing the audio, see https://github.com/Zuzu-Typ/PyOgg | |
| sound = VorbisFile(path) | |
| # pull the frequency out of the Vorbis abstraction | |
| frequency = sound.frequency | |
| # initialize the mixer |
| from py2neo import Graph, Node, Relationship | |
| graph = Graph( | |
| host="alpha.graph.domain.co", | |
| auth=('neo4j', 'thePassword-butBetter') | |
| ) | |
| url="https://py2neo.org/v4/database.html#py2neo.database.Graph.delete_all" | |
| a = Node("Type", url=url) | |
| graph.merge(a, "Website", "url") |
| function jsonSquish(contents){ | |
| // remove all line breaks | |
| // console.log(contents) | |
| contents = contents.replace(/\r?\n|\r/g,"") | |
| contents = contents.replace(/"/g, '\"\"') | |
| // console.log(contents) | |
| // compress all multiple spaces down to one space | |
| change = "" | |
| for(;change !== contents;){ | |
| // console.log(contents) |
| copy(new Date().toLocaleString()); |
| youtube-dl "https://www.youtube.com/watch?v=Mr__WcIjGs4" --write-auto-sub -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio' --merge-output-format mp4 |