This file contains 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
################################################## | |
# Packages | |
# $ sudo apt install -y xclip grc gobuster rlwrap evil-winrm powercat seclists peass | |
# Install flatpak | |
# -> https://www.kali.org/docs/tools/flatpak/ | |
# urlencode: | |
# $ sudo apt install gridsite-clients | |
# Python2 pip | |
# $ sudo sh -c "curl https://bootstrap.pypa.io./pip/2.7/get-pip.py | python2" | |
# Cool Hollywood screensaver ❤️ |
This file contains 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
#!/usr/bin/env ruby | |
begin | |
require "bundler/inline" | |
rescue LoadError => e | |
puts "You should install bundler with >= 1.10.3 version." | |
puts "* Current Ruby: #{`ruby -v`}" | |
puts "* Current Bundler: #{`gem list bundler`}" | |
puts "* Original Exception: \"#{e.message}\"" | |
exit 1 |
This file contains 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
class NotesController < ApplicationController | |
self.responder = NotesResponder | |
def create | |
@page = Page.find(params[:page_id]) | |
@note = page.notes.create(params[:note]) | |
respond_with(@note, :location => page_path(@page)) | |
end | |
end |