Skip to content

Instantly share code, notes, and snippets.

View chamampi's full-sized avatar

Sergio chamampi

  • La Paz, Bolivia
View GitHub Profile
void MainWindow::on_pushButton_clicked()
{
QString texto = ui->lineEdit->text();
QString comando = "mkdir "+texto;
system(comando.toUtf8().constData());
ui->label->clear();
ui->label->setText("Carpeta creada");
}
@gabonator
gabonator / abcom_protocol.js
Created November 26, 2017 20:05
ABcom satellite settop box protocol reverse engineering
/*
reverse engineering of ABcom Cryptobox 600HD mini dvbs box protocol
Firstly I examined android package (since it was easier to get it) "g-mscreen-2-3-11.apk". It
uses C++ library for implementing control protocol. Then I was trying to capture UPnP communication
from iphone connected to OSX running wireshark. But without luck. GMScreen allowed to connection
to box using ip address and port. This traffic was easier to caputre and analyse. Requests by
client application are human readable json/xml code. Some response packets are compressed using
zlib.
@tomkel5
tomkel5 / main.php
Created November 7, 2013 05:50
Example of Symfony Crawler
<?php
require_once 'vendor/autoload.php';
use Symfony\Component\DomCrawler\Crawler;
$html = '<!DOCTYPE html>
<html>
<body>
<table border="0" cellpadding="0" cellspacing="1">
<tr>