Skip to content

Instantly share code, notes, and snippets.

View xacrimon's full-sized avatar

Joel Wejdenstål xacrimon

View GitHub Profile
```sql
CREATE OR REPLACE FUNCTION get_access_path(
p_column_filter TEXT DEFAULT NULL,
p_value_filter TEXT DEFAULT NULL
)
RETURNS TABLE
(
"user" bivar[],
user_user_group bibi[],
user_group bivar[],

Greetings developers, I am Devanshu kabra , and i am a freelancer bug bounty hunter here is my hacker one id :-dev09rdx. And while working on your program i encounter some hash key are available on your url that are open for all(without login). This might be not a severe issue or a bug but its rather prefer to hide these hash key.Some hash key that are visible are:- 1.MD5sum (Message Digest 5) is a 128-bit hash function. It was developed in the early 1990s, and it was widely used for many years. However, MD5sum is now considered to be insecure, and it should not be used for new applications. 2.SHA-1 (Secure Hash Algorithm 1) is a 160-bit hash function. It was developed in the mid-1990s, and it is still widely used today. However, SHA-1 is also starting to be considered insecure, and it is recommended to use SHA-256 or SHA-512 instead for new applications. 4.SHA-256 is a 256-bit hash function. It was developed in the early 2000s, and it is now the most widely used hash function. SHA-256 is considered to be sec

Keybase proof

I hereby claim:

  • I am xacrimon on github.
  • I am xacrimon (https://keybase.io/xacrimon) on keybase.
  • I have a public key ASDMMwFj3GXmIgSsCNAuQN6HkGqMC-wsG7nLH_OeRA-u_go

To claim this, I am signing this object:

-- stores hits to the ping service
CREATE TABLE pings (
-- unique id of the ping
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
-- the unix timestamp of the ping
timestamp INTEGER NOT NULL,
-- the ip address of the ping client
remote_ip TEXT NOT NULL
trait QueryMode {
type Handle<'conn>;
fn handle(connection: &mut rusqlite::Connection) -> rusqlite::Result<Self::Handle<'_>>;
}
struct NoTx;
impl QueryMode for NoTx {
type Handle<'conn> = &'conn rusqlite::Connection;
use std::{
fs,
sync::{Arc, Mutex, MutexGuard},
thread,
time::{Duration, Instant},
};
use anyhow::{anyhow, bail, Result};
use axum::async_trait;
use rusqlite::{Connection, TransactionBehavior};
using System;
using System.IO;
using System.Collections.Generic;
namespace Lua
{
class Program
{
/// <summary>
/// Program entry point.
use std::{
collections::{HashMap, HashSet},
iter,
};
use cstree::{self, interning::TokenInterner};
use super::{
super::parser::syntax::{Root, Stmt},
bytecode::{Capture, Instruction},
-- The Great Computer Language Shootout
-- http://shootout.alioth.debian.org/
-- contributed by Isaac Gouy, tuned by Mike Pall
local sqrt = math.sqrt
local PI = 3.141592653589793
local SOLAR_MASS = 4 * PI * PI
local DAYS_PER_YEAR = 365.24
use hashbrown::{hash_map, HashMap};
use super::TaggedHandle;
pub struct ObjectSet {
set: HashMap<TaggedHandle, (), ()>,
}
impl ObjectSet {
pub fn new() -> Self {