Skip to content

Instantly share code, notes, and snippets.

View razlupercio's full-sized avatar
🎯
Focusing in OSCP

raz razlupercio

🎯
Focusing in OSCP
View GitHub Profile
@razlupercio
razlupercio / homemade-blind-sqli.sh
Created December 21, 2021 07:30
a homemade-blind-sqli i did for some challenge on a CTF... python might be faster tho...
#!/bin/bash
baseurl="http://victim.server.io/"
hash=""
while [ true ]
do
for x in {{a..z},-,{0..9}}
do
Imports System
Imports System.Text
Imports System.Security.Cryptography
' decrypt script used on Nest - HTB machine...
Public Class Utils
Public Shared Function DecryptString(EncryptedString As String) As String
If String.IsNullOrEmpty(EncryptedString) Then
mndl_usuario@system:~/public_html/core.app$ npm run dev
> @ dev /home/mndl_usuario/public_html/core.app
> cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
95% emitting
ERROR Failed to compile with 2 errors 4:53:57 PM
These dependencies were not found:

Keybase proof

I hereby claim:

  • I am razlupercio on github.
  • I am razlupercio (https://keybase.io/razlupercio) on keybase.
  • I have a public key whose fingerprint is 4C3E 469E 87CE 2496 8E3A 9359 A2D1 AFB0 450D 6366

To claim this, I am signing this object:

root@yourlaptop:/opt/sandstorm/var/sandstorm/apps/3635303df393fa80b1fb4e06f413d3e7/sandstorm-integration# make
generating capnp files...
/opt/sandstorm/latest/usr/include/sandstorm/web-session.capnp:147: error: Parse error: Empty list item.
/opt/sandstorm/latest/usr/include/sandstorm/web-session.capnp:392: error: Parse error: Empty list item.
/opt/sandstorm/latest/usr/include/sandstorm/appid-replacements-test.capnp:39: error: Parse error: Empty list item.
/opt/sandstorm/latest/usr/include/sandstorm/appid-replacements.capnp:71: error: Parse error: Empty list item.
/opt/sandstorm/latest/usr/include/sandstorm/supervisor.capnp:59:20-30: error: Not defined: Capability
/opt/sandstorm/latest/usr/include/sandstorm/grain.capnp:316:30-40: error: Not defined: Capability
/opt/sandstorm/latest/usr/include/sandstorm/grain.capnp:361:22-32: error: Not defined: Capability
/opt/sandstorm/latest/usr/include/sandstorm/grain.capnp:363:26-36: error: Not defined: Capability
you@yourlaptop:~$ sudo iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
f2b-sshd tcp -- anywhere anywhere multiport dports ssh
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:https
REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
ACCEPT all -- anywhere anywhere
2016-10-07T04:59:18.450+0000 [initandlisten] MongoDB starting : pid=7 port=6081 dbpath=/var/mongo 64-bit host=mybox
2016-10-07T04:59:18.451+0000 [initandlisten] db version v2.6.7
2016-10-07T04:59:18.451+0000 [initandlisten] git version: nogitversion
2016-10-07T04:59:18.451+0000 [initandlisten] OpenSSL version: OpenSSL 1.0.2 22 Jan 2015
2016-10-07T04:59:18.451+0000 [initandlisten] build info: Linux ip-x-x-x-x 2.6.32-356-ec2 #69-Ubuntu SMP Mon Aug 26 15:32:17 UTC 2013 x86_64 BOOST_LIB_VERSION=1_49
2016-10-07T04:59:18.451+0000 [initandlisten] allocator: tcmalloc
2016-10-07T04:59:18.451+0000 [initandlisten] options: { net: { bindIp: "127.0.0.1", http: { enabled: false }, port: 6081 }, nopreallocj: true, processManagement: { fork: true, pidFilePath: "/var/pid/mongo.pid" }, replication: { oplogSizeMB: 16, replSet: "ssrs" }, security: { authorization: "enabled" }, storage: { dbPath: "/var/mongo", preallocDataFiles: false, smallFiles: true }, systemLog: { destination: "file", path: "/var/log/mongo.log" } }
2016-10-07
** Starting Sandstorm at: Fri Oct 7 04:59:18 2016
** Starting back-end...
** Starting MongoDB...
note: noprealloc may hurt performance in many applications
about to fork child process, waiting until server is ready for connections.
forked process: 7
child process started successfully, parent exiting
2016-10-07T04:59:24.155+0000 warning: Failed to connect to 127.0.0.1:6081, reason: errno:111 Connection refused
2016-10-07T04:59:24.156+0000 Error: couldn't connect to server 127.0.0.1:6081 (127.0.0.1), connection attempt failed at src/mongo/shell/mongo.js:148
exception: connect failed
@razlupercio
razlupercio / schleuder
Last active September 8, 2016 17:57
weird error I get after installing schleuder...
`
raz@debian:~$ schleuder
/usr/local/rvm/gems/ruby-2.3.0/gems/actionpack-2.3.14/lib/action_controller/cgi_ext/stdinput.rb:14:in `included': undefined method `alias_method_chain' for CGI:Class (NoMethodError)
Did you mean? alias_method
from /usr/local/rvm/gems/ruby-2.3.0/gems/actionpack-2.3.14/lib/action_controller/cgi_ext.rb:6:in `include'
from /usr/local/rvm/gems/ruby-2.3.0/gems/actionpack-2.3.14/lib/action_controller/cgi_ext.rb:6:in `<class:CGI>'
from /usr/local/rvm/gems/ruby-2.3.0/gems/actionpack-2.3.14/lib/action_controller/cgi_ext.rb:5:in `<top (required)>'
from /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/local/rvm/gems/ruby-2.3.0/gems/actionpack-2.3.14/lib/action_controller.rb:36:in `<top (required)>'