Collection of BloodHound Cypher Query Examples
- I- Raw
- II- Built-In
- III- Custom
- IV- DB Manipulation
- V- REST API (PowerShell)
Collection of BloodHound Cypher Query Examples
package com.company; | |
import java.util.Scanner; | |
public class frequency_of_sentence_in_word { | |
public static void main(String[] args) { | |
Scanner sc=new Scanner(System.in); | |
String s= sc.nextLine(); | |
int arr[]=new int[98]; | |
for(int i=0;i<s.length();i++){ |
from builtins import object | |
import weakref | |
from time import sleep | |
from threading import Thread, Event, Lock | |
from pymavlink import mavutil | |
import pymavlink.dialects.v20.ardupilotmega as mavlink | |
class WriteLockedFile(object): |
Создание пользователя | |
--------------------- | |
adduser username | |
usermod -aG sudo username | |
group username | |
su username | |
--------------------------------------- | |
Компиляции python 3.6 | |
---------------------- | |
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev |
{ | |
"key_events": { | |
"key_unknown": "adb shell input keyevent 0", | |
"key_soft_left": "adb shell input keyevent 1", | |
"key_soft_right": "adb shell input keyevent 2", | |
"key_home": "adb shell input keyevent 3", | |
"key_back": "adb shell input keyevent 4", | |
"key_call": "adb shell input keyevent 5", | |
"key_endcall": "adb shell input keyevent 6", | |
"key_0": "adb shell input keyevent 7", |
/** @format */ | |
import { Map, TileLayer, Marker, Popup } from "react-leaflet"; | |
import React, { useEffect, useState, useRef } from "react"; | |
import { geosearch } from "esri-leaflet-geocoder"; | |
import "leaflet/dist/leaflet.css"; | |
import "esri-leaflet-geocoder/dist/esri-leaflet-geocoder.css"; | |
import L from "leaflet"; | |
function MapView(props) { |
async function enviarScript(scriptText){ | |
const lines = scriptText.split(/[\n\t]+/).map(line => line.trim()).filter(line => line); | |
main = document.querySelector("#main"), | |
textarea = main.querySelector(`div[contenteditable="true"]`) | |
if(!textarea) throw new Error("Não há uma conversa aberta") | |
for(const line of lines){ | |
console.log(line) | |
repos="" | |
sizes="" | |
name_lens="" | |
# Check if user is logged in | |
if ! aws sts get-caller-identity &> /dev/null; then | |
echo "ERROR: Seems like your SSO session is invalid. Please run" | |
printf "\n $ aws sso login\n\n" | |
echo "before you run the script." | |
exit 1 |
async function enviarScript(scriptText){ | |
const lines = scriptText.split(/[\n\t]+/).map(line => line.trim()).filter(line => line); | |
main = document.querySelector("#main"), | |
textarea = main.querySelector(`div[contenteditable="true"]`) | |
if(!textarea) throw new Error("Não há uma conversa aberta") | |
for(const line of lines){ | |
console.log(line) | |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# This Vagrantfile (vagrantup.com) spins up a MySQL server with your data | |
# already loaded. Many of the settings below are the same suggestions you get | |
# from `vagrant init`. | |
# | |
# Just be sure that (if you want data loaded) you have your .sql file sitting | |
# in the directory that will be shared to the guest. Usually this is the folder | |
# that your Vagrantfile is in. The database and user will have the same name as |