Skip to content

Instantly share code, notes, and snippets.

View hellok's full-sized avatar

Chen Qin hellok

View GitHub Profile
@hellok
hellok / gist:8170962
Created December 29, 2013 14:32
30c3.log
[10:07am] fwg joined the chat room.
[10:07am] fwg left the chat room. (Max SendQ exceeded)
[10:08am] fwg joined the chat room.
[10:09am] gijs:
hi guys are there more challenges coming?
[10:10am] n00bz joined the chat room.
[10:15am] danitorwS left the chat room. (Read error: Connection reset by peer)
[10:15am] danitorwS joined the chat room.
[10:21am] y0no left the chat room. (Ping timeout: 490 seconds)
[10:21am] tr0ll:
@hellok
hellok / ictf.log
Created December 7, 2013 08:25
irc 2013 ictf log
Session Start: Fri Dec 06 23:08:24 2013
Session Ident: #ictf
03[23:08] * Now talking in #ictf
03[23:08] * Topic is 'https://www.ictf2013.net (live at 8am) - twitter: @UCSBiCTF #ictf2013 @caovc (selfpromotion fyeah!) - I heard you like exploits, so I put some exploits into your services.'
03[23:08] * Set by [email protected] on Fri Dec 06 23:04:57
03[23:08] * mg ([email protected]) has joined #ictf
03[23:08] * rico_ ([email protected]) has joined #ictf
03[23:08] * blues-man ([email protected]) has joined #ictf
03[23:08] * Daoka ([email protected]) has joined #ictf
@hellok
hellok / email.log
Last active December 30, 2015 11:58
ictf2013
[ctf-participants] IMPORTANT PARTICIPANT INFO: iCTF 2013 Game Rules
Adam Doupé adamdoupe at gmail.com
Wed Dec 4 22:09:27 PST 2013
Previous message: [ctf-participants] Going on to the next goal and scoring
Next message: [ctf-participants] IMPORTANT PARTICIPANT INFO: iCTF 2013 Game Rules
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
THE GAME
——————
diff --git a/src/share/classes/sun/security/ec/NamedCurve.java b/src/share/classes/sun/security/ec/NamedCurve.java
--- a/src/share/classes/sun/security/ec/NamedCurve.java
+++ b/src/share/classes/sun/security/ec/NamedCurve.java
@@ -658,6 +658,133 @@
0xFF70);
*/
+ /* Brainpool curves (RFC 5639) */
+ add("brainpoolP160r1", "1.3.36.3.3.2.8.1.1.1", P,
+ "E95E4A5F737059DC60DFC7AD95B3D8139515620F",
# configuration for osx clipboard support
set-option -g default-command "reattach-to-user-namespace -l sh"

Gitlab 5.4 - Gmail configuration

In order to send messages through a Gmail account (also applicable to Google Apps accounts) add the following parts to your config files:

Files:

  • config/environments/production.rb
  • config/gitlab.yml
@hellok
hellok / gist:6314765
Last active December 21, 2015 13:48
gcc centos
#! /bin/bash
GCC_V='4.6.0'
sudo yum install -y glibc-static libstdc++-static 
wget http://ftp.gnu.org/gnu/gcc/gcc-${GCC_V}/gcc-${GCC_V}.tar.gz  -O gcc-${GCC_V}.tar.gz
tar xzf gcc-${GCC_V}.tar.gz
cd gcc-${GCC_V}
./contrib/download_prerequisites
cd ..
mkdir build_gcc${GCC_V}
cd build_gcc${GCC_V}
@hellok
hellok / gist:6156398
Last active December 20, 2015 15:48
moscow_metro
http://www.mosmetro.ru/documents/13014/moscow_metro.pdf
http://newsmetro.ru/metroproba15e.jpg
Sheremetjevo --->SVO
Domodedovo --->DME
1. 先SVO火车到BELORUSSKAYA车站。35分钟 1站
1.5 莫斯科斯摩棱斯克站步行到 BELORUSSKAYA(白俄罗斯站)
2. 换乘地铁BELORUSSKAYA到PAVELETSKAYA 2号线更快。5号线也OK。
2.5. PAVELETSKAYA 走到Paveletskiy 180米
3. Paveletskiy站 - Uzunovo站 的火车,倒数第二站下车。 40分钟 4站
public class Cipher {
public static void main(String[] args) throws Throwable
{
BASE64Decoder decoder = new BASE64Decoder();
BASE64Encoder encoder = new BASE64Encoder();
String message = "s_hostname:jonasnuts.blogs.sapo.pt OR s_hostname:jonasnuts.com;1350305502";
// data
@hellok
hellok / gist:6144623
Created August 3, 2013 01:05
hack all the things
This one's dedicated to allAnnotate the hackers
Even out settle score quick
My disaster recovery requires even more disks
Put your bytes up, prove it or you forfeit
Got my C64 and we blew it into orbit.
M. Bison with eight straight perfects
Overload emotions make hate, break circuits
In case you heard, it's a name fake service