Skip to content

Instantly share code, notes, and snippets.

root@debian:~# pppd 10.20.30.100:10.20.30.200 asyncmap 0x11111111 noauth nocrtscts nolock local proxyarp noccp noaccomp nopcomp ms-dns 212.24.188.130 ms-dns 212.24.188.131 debug /dev/ttyUSB0
Mar 19 20:55:11 debian pppd[24714]: pppd 2.4.6 started by user, uid 0
Mar 19 20:55:11 debian pppd[24714]: using channel 13
Mar 19 20:55:11 debian pppd[24714]: Using interface ppp0
Mar 19 20:55:11 debian pppd[24714]: Connect: ppp0 <--> /dev/ttyUSB0
Mar 19 20:55:11 debian pppd[24714]: sent [LCP ConfReq id=0x1 <asyncmap 0x11111111> <magic 0x279b45c2>]
Mar 19 20:55:11 debian kernel: usb 2-1.4: ark3116: don't know how to do software flow control
Mar 19 20:55:14 debian pppd[24714]: sent [LCP ConfReq id=0x1 <asyncmap 0x11111111> <magic 0x279b45c2>]
Mar 19 20:55:17 debian pppd[24714]: sent [LCP ConfReq id=0x1 <asyncmap 0x11111111> <magic 0x279b45c2>]
menuentry "GRML ISO" {
insmod loopback
loopback loop0 (hd0,msdos1)/grml64-full_2013.02.iso
set root=loop0
set prefix=/boot/grub
# /boot/grub/header.cfg
iso_path=/grml64-full_2013.02.iso
export iso_path
configfile /boot/grub/grub.cfg
ipurl=( 'http://whatismyipaddress.com/' 'http://www.ip-adress.com/' 'http://ip.ezit.hu/ip.php' \
'http://www.whatismyip.org/' 'http://www.cmyip.com/' 'http://my-i-p.com/' \
'http://ifconfig.me/ip' 'http://freedns.afraid.org/dynamic/check.php' 'http://checkip.dyndns.org/' )
user_agent='Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0'
iface='p10p1'
releasefile='/etc/system-release'
name="${0##*/}"
wanaddr() {
<?php
/*
+-----------------------------------------------------------------------------+
| ILIAS open source |
+-----------------------------------------------------------------------------+
| Copyright (c) 1998-2008 ILIAS open source, University of Cologne |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU General Public License |
| as published by the Free Software Foundation; either version 2 |
ABORT BUSY
ABORT 'NO CARRIER'
ABORT ERROR
REPORT CONNECT
TIMEOUT 10
"" "AT&F"
OK "ATE1"
OK 'AT+CGDCONT=1,"IP","$USE_APN"'
SAY "Calling UMTS/GPRS"
TIMEOUT 30
@echo off
setlocal EnableDelayedExpansion
for %%u in (a b c) do (
set USER=%%u
for /f "usebackq tokens=2 delims=/" %%p in (`find /i "Path" "Users\!USER!\AppData\Roaming\Mozilla\Firefox\profiles.ini"`) do (
set PROFILE=%%p
echo "profile: !PROFILE!"
)
HIBERNATE_MODE="shutdown"
@dash17291
dash17291 / otpdirekt.sh
Created June 13, 2013 19:00
OTPdirekt lekérdezése SMS csak tranzakciohoz kell, belepeshez nem. Egyenleghez meg be sem kell lepni. A bankkártya szám és a telekód elég. Alapértelmezésben az azonosító a kártyaszám utolsó 10 számjegye. A telekód, az alapértelmezetten a számlaszám utolsó 3 számjegye. http://hup.hu/node/120903?comments_per_page=9999
#!/bin/bash
read -p "Telekód: " -s line
echo -en "\nEgyenleg: "
wget -q --no-check-certificate -O - https://www.otpbankdirekt.hu/homebank/do/bankkartyaEgyenlegLekerdezes --post-data="azonosito=IDE_JÖN_AZ_AZONOSÍTÓ&telekod=$line&muvelet=login" | grep -e 'span class="value"' | head -1 | cut -d "<" -f 3 | cut -d ">" -f 2
#!/bin/sh
# Copyright (C) 2012 Michael Gorven <http://michael.gorven.za.net/>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<a style="font-size: 20pt; color: red" href="http://www.ingyen-tarhely.eu/">http://www.ingyen-tarhely.eu</a>
</body>
</html>