language
stringlengths
0
24
filename
stringlengths
9
214
code
stringlengths
99
9.93M
C++
x64dbg-development/src/gui/Src/Utils/MiscUtil.cpp
#include "MiscUtil.h" #include <QtWin> #include <QApplication> #include <QMessageBox> #include <QDir> #include "LineEditDialog.h" #include "ComboBoxDialog.h" #include "StringUtil.h" #include "BrowseDialog.h" #include <thread> void SetApplicationIcon(WId winId) { std::thread([winId] { HICON hIcon = Load...
C/C++
x64dbg-development/src/gui/Src/Utils/MiscUtil.h
#pragma once #include <QIcon> #include <functional> #include "Imports.h" class QWidget; class QByteArray; void SetApplicationIcon(WId winId); QByteArray & ByteReverse(QByteArray & array); QByteArray ByteReverse(QByteArray && array); bool SimpleInputBox(QWidget* parent, const QString & title, QString defaultValue, QS...
C++
x64dbg-development/src/gui/Src/Utils/MRUList.cpp
#include "MRUList.h" #include "Bridge.h" #include <QMenu> #include <QFile> MRUList::MRUList(QObject* parent, const char* section, int maxItems) : QObject(parent), mSection(section), mMaxMRU(maxItems) { } void MRUList::load() { for(int i = 0; i < mMaxMRU; i++) { char currentFile[MAX_SET...
C/C++
x64dbg-development/src/gui/Src/Utils/MRUList.h
#pragma once #include <QObject> #include <Qlist> class QMenu; class MRUList : public QObject { Q_OBJECT public: explicit MRUList(QObject* parent, const char* section, int maxItems = 16); void load(); void save(); void appendMenu(QMenu* menu); void addEntry(QString entry); void removeEnt...
C++
x64dbg-development/src/gui/Src/Utils/RichTextPainter.cpp
#include "RichTextPainter.h" #include "CachedFontMetrics.h" #include <QPainter> //TODO: fix performance (possibly use QTextLayout?) void RichTextPainter::paintRichText(QPainter* painter, int x, int y, int w, int h, int xinc, const List & richText, CachedFontMetrics* fontMetrics) { QPen pen; QPen highlightPen; ...
C/C++
x64dbg-development/src/gui/Src/Utils/RichTextPainter.h
#pragma once #include <QString> #include <QColor> #include <vector> class CachedFontMetrics; class QPainter; class RichTextPainter { public: //structures enum CustomRichTextFlags { FlagNone, FlagColor, FlagBackground, FlagAll }; struct CustomRichText_t { ...
C++
x64dbg-development/src/gui/Src/Utils/StringUtil.cpp
#include <stdint.h> #include "main.h" #include "StringUtil.h" #include "MiscUtil.h" #include "ldconvert.h" #include "Configuration.h" QString ToLongDoubleString(const void* buffer) { char str[32]; ld2str(buffer, str); return str; } QString EscapeCh(QChar ch) { switch(ch.unicode()) { case '\0':...
C/C++
x64dbg-development/src/gui/Src/Utils/StringUtil.h
#pragma once #include <sstream> #include <iomanip> #include <QString> #include <QDateTime> #include <QLocale> #include "Imports.h" inline QString ToPtrString(duint Address) { // // This function exists because of how QT handles // variables in strings. // // QString::arg(): // ((int32)0xFFFF00...
C++
x64dbg-development/src/gui/Src/Utils/SymbolAutoCompleteModel.cpp
#include "SymbolAutoCompleteModel.h" #include "MiscUtil.h" #include "Configuration.h" SymbolAutoCompleteModel::SymbolAutoCompleteModel(std::function<QString()> getTextProc, QObject* parent) : QAbstractItemModel(parent), mGetTextProc(getTextProc), isValidReg("[\\w_@][\\w\\d_]*") { lastAutocompleteCo...
C/C++
x64dbg-development/src/gui/Src/Utils/SymbolAutoCompleteModel.h
#pragma once #include <functional> #include <QAbstractItemModel> #include <QRegularExpression> #define MAXAUTOCOMPLETEENTRY 20 class SymbolAutoCompleteModel : public QAbstractItemModel { Q_OBJECT public: SymbolAutoCompleteModel(std::function<QString()> getTextProc, QObject* parent = 0); virtual QVariant ...
C++
x64dbg-development/src/gui/Src/Utils/UpdateChecker.cpp
#include "UpdateChecker.h" #include <QUrl> #include <QNetworkRequest> #include <QMessageBox> #include <QNetworkReply> #include <QIcon> #include <QDateTime> #include "Bridge.h" #include "StringUtil.h" #include "MiscUtil.h" UpdateChecker::UpdateChecker(QWidget* parent) : QNetworkAccessManager(parent), mParent(...
C/C++
x64dbg-development/src/gui/Src/Utils/UpdateChecker.h
#pragma once #include <QNetworkAccessManager> class UpdateChecker : public QNetworkAccessManager { Q_OBJECT public: UpdateChecker(QWidget* parent); void checkForUpdates(); private slots: void finishedSlot(QNetworkReply* reply); private: QWidget* mParent; };
C/C++
x64dbg-development/src/gui/Src/Utils/VaHistory.h
#pragma once #include "Bridge.h" class VaHistory { public: void addVaToHistory(duint parVa) { //truncate everything right from the current VA if(mVaHistory.size() && mCurrentVa < mVaHistory.size() - 1) //mCurrentVa is not the last mVaHistory.erase(mVaHistory.begin() + mCurrentVa + ...
C++
x64dbg-development/src/gui/Src/Utils/ValidateExpressionThread.cpp
#include "ValidateExpressionThread.h" ValidateExpressionThread::ValidateExpressionThread(QObject* parent) : QThread(parent), mExpressionChanged(false), mStopThread(false) { this->mOnExpressionChangedCallback = nullptr; } void ValidateExpressionThread::start() { mStopThread = false; QThread::start(); } vo...
C/C++
x64dbg-development/src/gui/Src/Utils/ValidateExpressionThread.h
#pragma once #include <QThread> #include <QMutex> #include <functional> #include "Imports.h" typedef std::function<void(QString expression)> EXPRESSIONCHANGEDCB; class ValidateExpressionThread : public QThread { Q_OBJECT public: ValidateExpressionThread(QObject* parent = 0); void start(); void stop()...
C++
x64dbg-development/src/launcher/x64dbg_launcher.cpp
#define UNICODE #include <stdio.h> #include <windows.h> #include <string> #include <queue> #include <shlwapi.h> #include <objbase.h> #pragma warning(push) #pragma warning(disable:4091) #include <shlobj.h> #pragma warning(pop) #include <atlcomcli.h> #include "../exe/resource.h" #include "../exe/LoadResourceString.h" #i...
Visual C++ Project
x64dbg-development/src/launcher/x64dbg_launcher.vcxproj
<?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="Debug|Win32"> <Configuration>Debug</Configuration> <Platform>Win32</Platform> ...
x64dbg-development/src/launcher/x64dbg_launcher.vcxproj.filters
<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup> <Filter Include="Source Files"> <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx<...
C++
x64dbg-development/src/loaddll/loaddll.cpp
#include <windows.h> wchar_t szLibraryPath[512]; int main() { wchar_t szName[256]; wsprintfW(szName, L"Local\\szLibraryName%X", (unsigned int)GetCurrentProcessId()); HANDLE hMapFile = OpenFileMappingW(FILE_MAP_READ, false, szName); if(hMapFile) { const wchar_t* szLibraryPathMapping = (cons...
Visual C++ Project
x64dbg-development/src/loaddll/loaddll.vcxproj
<?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="Debug|Win32"> <Configuration>Debug</Configuration> <Platform>Win32</Platform> ...
x64dbg-development/src/loaddll/loaddll.vcxproj.filters
<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup> <Filter Include="Source Files"> <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx<...
C/C++
x64dbg-development/src/zydis_wrapper/ZydisExportConfig.h
#pragma once #ifdef ZYDIS_STATIC_DEFINE # define ZYDIS_EXPORT # define ZYDIS_NO_EXPORT #else # ifndef ZYDIS_EXPORT # ifdef Zydis_EXPORTS /* We are building this library */ # define ZYDIS_EXPORT # else /* We are using this library */ # define ZYDIS_EXPORT # endif # endif # ifndef ZYDIS_NO_EXPOR...
C++
x64dbg-development/src/zydis_wrapper/zydis_wrapper.cpp
#include "zydis_wrapper.h" #include <Zydis/Formatter.h> #include <windows.h> bool Zydis::mInitialized = false; ZydisDecoder Zydis::mDecoder; ZydisFormatter Zydis::mFormatter; static const char* ZydisMnemonicGetStringHook(ZydisMnemonic mnemonic) { switch(mnemonic) { case ZYDIS_MNEMONIC_JZ: return "...
C/C++
x64dbg-development/src/zydis_wrapper/zydis_wrapper.h
#pragma once #include "Zydis/Zydis.h" #include <functional> #include <string> #define MAX_DISASM_BUFFER 16 class Zydis { public: static void GlobalInitialize(); static void GlobalFinalize(); Zydis(); Zydis(const Zydis & zydis) = delete; ~Zydis(); bool Disassemble(size_t addr, const unsigned c...
Visual Studio Solution
x64dbg-development/src/zydis_wrapper/zydis_wrapper.sln
Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2013 VisualStudioVersion = 12.0.40629.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "zydis_wrapper", "zydis_wrapper.vcxproj", "{3B2C1EE1-FDEC-4D85-BE46-3C6A5EA69883}" EndProject Global GlobalSe...
Visual C++ Project
x64dbg-development/src/zydis_wrapper/zydis_wrapper.vcxproj
<?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="Debug|Win32"> <Configuration>Debug</Configuration> <Platform>Win32</Platform>...
x64dbg-development/src/zydis_wrapper/zydis_wrapper.vcxproj.filters
<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup> <Filter Include="Source Files"> <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx<...
Markdown
Awesome-Hacking/contributing.md
# Contribution Guidelines Please follow the instructions below to make a contribution. This resource was made by the developers and hackers alike! We appreciate and recognize all [contributors](#contributors). ## Table of Content - [Adding to the list](#adding-to-the-list) - [To remove from the list](#to-remove-fro...
Awesome-Hacking/LICENSE
CC0 1.0 Universal Statement of Purpose The laws of most jurisdictions throughout the world automatically confer exclusive Copyright and Related Rights (defined below) upon the creator and subsequent owner(s) (each and all, an "owner") of an original work of authorship and/or a database (each, a "Work"). Certain owne...
Markdown
Awesome-Hacking/README.md
![Awesome Hacking](awesome_hacking.jpg) # [Awesome Hacking](https://github.com/Hack-with-Github/Awesome-Hacking) [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Awesome%20Hacking%20-%20a%20collection%20of%20awesome%20lists%20for%20hackers%20and%20pe...
yersinia/.gitignore
# Object files *.o *.ko *.obj *.elf *.Po # Libraries *.lib *.a # Shared objects (inc. Windows DLLs) *.dll *.so *.so.* *.dylib # Executables *.exe *.out *.app *.i*86 *.x86_64 *.hex # autoconf/automake configure Makefile Makefile.in autom4te.cache/* src/.deps compile aclocal.m4 config.* depcomp install-sh missing sta...
YAML
yersinia/.travis.yml
language: c compiler: - gcc - clang before_install: - sudo apt-get update -qq - sudo apt-get install -y libnet-dev libpcap-dev - sudo apt-get install -y gtk2.0 libgtk2.0-dev script: ./autogen.sh; ./configure --with-pcap-includes=/usr/include/ && make env: global: # The next declaration is the encrypte...
M4 Macro
yersinia/acinclude.m4
dnl dnl Copyright (c) 1995, 1996, 1997, 1998 dnl The Regents of the University of California. All rights reserved. dnl dnl Redistribution and use in source and binary forms, with or without dnl modification, are permitted provided that: (1) source code distributions dnl retain the above copyright notice and this parag...
yersinia/AUTHORS
Alfredo Andres Omella <aandreswork@hotmail.com> David Barroso Berrueta <tomac@yersinia.net> http://www.yersinia.net <yersinia@yersinia.net>
Shell Script
yersinia/autogen.sh
#!/bin/sh # Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` test -z "$srcdir" && srcdir=. DIE=0 if [ -n "$GNOME2_DIR" ]; then ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS" LD_LIBRARY_PATH="$GNOME2_DIR/lib:$LD_LIBRARY_PATH" PATH="$GNOME2_DIR/bin:$PATH" export PATH export LD...
yersinia/borra
#!/bin/sh rm -f *~ configure config.cache config.log config.h config.h.in src/config.h src/config.h.in rm -f config.status Makefile.in Makefile src/Makefile src/Makefile.in rm -rf autom4te.cache src/*.tar src/*.tar.gz src/*.tar.Z src/*.o src/yersinia src/*~
yersinia/ChangeLog
CHANGES for Yersinia ==================== 2017/08/24 ---------- - Version 0.8.2 - FIX: CL: Fix reversed use of IP addresses parameters on command line, issue #44 2017/08/24 ---------- - Version 0.8.1 - Fixed critical bug using invalid network interfaces (appeared initially with STP MiTM attack), issue #41 2017/08/...
yersinia/configure.ac
dnl dnl Process this file with autoconf to produce a configure script. dnl AC_INIT(yersinia, 0.8.2, yersinia@yersinia.net) AC_CONFIG_SRCDIR([src/yersinia.c]) AM_CONFIG_HEADER(src/config.h) AC_CANONICAL_TARGET([]) AM_INIT_AUTOMAKE AC_PROG_CC if test -n "$GCC"; then CFLAGS="-Wall -Winvalid-source-encoding" ...
yersinia/COPYING
GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, Cambridge, MA 02139, USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble ...
yersinia/FAQ
yersinia FAQ INDEX 1. General Questions: 1.1 Where can I get help? 1.2 Where did the name come from? 1.3 How do you dare to implement a tool for doing nasty things? 1.4 Wtf? This crappy software does not run in Windows. 2. Downloading yersinia: 2.1 Where can I download yersinia? 3. Building yer...
yersinia/INSTALL
Last release and CVS/SVN repository can be always accessed at https://github.com/tomac/yersinia http://www.yersinia.net Requirements ------------ - Pcap library at least 0.8, you can get it at: http://www.tcpdump.org - Libnet library at least 1.1.2, you can get it at: http://www.packetfact...
yersinia/README
[![Build Status](https://travis-ci.org/tomac/yersinia.svg?branch=master)](https://travis-ci.org/tomac/yersinia) Spanning Tree ------------- #1: DOS attack sending conf BPDUs Let's send some conf BPDUs claiming be root!!! By sending continously conf BPDU with root pathcost 0, randomly generated bridge id (and...
Markdown
yersinia/README.md
[![Build Status](https://travis-ci.org/tomac/yersinia.svg?branch=master)](https://travis-ci.org/tomac/yersinia) Spanning Tree ------------- # 1: DOS attack sending conf BPDUs Let's send some conf BPDUs claiming be root!!! By sending continously conf BPDU with root pathcost 0, randomly generated bridge id (an...
yersinia/THANKS
Yersinia couln't have been possible without our friends support. We would like to say thanks to many people but specially to: Friends: Tino (drenaier) for his support. Jess (from jessland) for his advices and suggestions. Pablo (darkcode) for his Sparc. Misc: Ebay for allowing us to buy some routers and switches. Piz...
yersinia/TODO
- Verify that when deleting a node, the field user is decremented if the interface was used by that node. - VMPS attacks. Hey, we don't have VMPS in any of our little 29xx switches :( - Take into account the Trailers Ethernet field. - Use backspace in ncurses string fields. - Keep aware of 802.1Q packets with mo...
yersinia/yersinia.8
.\" Man page for Yersinia .\" ===================== .\" Authors: Alfredo and David .\" .\" .\" .TH "YERSINIA" "8" "$Date: 2017/08/23 08:10:00 $" "Yersinia v0.8" "" .SH "NAME " .B Yersinia \- A Framework for layer 2 attacks .SH "SYNOPSIS " \fByersinia\fR [\fB\-hVGIDd\fR] [\fB\-l\fR \fIlogfile\fR] [\fB\-c\fR \fIconf...
C
yersinia/src/admin.c
/* admin.c * Network server thread * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public Lice...
C/C++
yersinia/src/admin.h
/* admin.h * Definitions for network server thread * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Gen...
C
yersinia/src/arp.c
/* arp.c * Implementation and attacks for Address Resolution Protocol * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the t...
C/C++
yersinia/src/arp.h
/* arp.h * Defintions for Address Resolution Protocol * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU ...
C
yersinia/src/attack.c
/* attack.c * Attacks management core * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public L...
C/C++
yersinia/src/attack.h
/* attack.h * Definitions for attacks management core * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU ...
C
yersinia/src/cdp.c
/* cdp.c * Implementation and attacks for Cisco Discovery Protocol * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the term...
C/C++
yersinia/src/cdp.h
/* cdp.h * Definitions for Cisco Discovery Protocol * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Ge...
C/C++
yersinia/src/commands-struct.h
/* commands.h * Definitions for Cisco CLI commands structures * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
C
yersinia/src/commands.c
/* commands.c * Implementation of Cisco CLI commands * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU G...
C/C++
yersinia/src/commands.h
/* commands.h * Definitions for Cisco CLI commands * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Gen...
C
yersinia/src/dhcp.c
/* dhcp.c * Implementation for Dynamic Host Configuration Protocol * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the term...
C/C++
yersinia/src/dhcp.h
/* dhcp.h * Definitions for Dynamic Host Configuration Protocol * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms o...
C
yersinia/src/dlist.c
/* dlist.c * Dynamic lists implementation (double linked) * taken from http://www.vorlesungen.uos.de/informatik/cc02/src/dlist/dlist.c * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free...
C/C++
yersinia/src/dlist.h
/* dlist.h * Definitions for dynamic lists * taken from http://www.vorlesungen.uos.de/informatik/cc02/src/dlist/dlist.h * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you ...
C
yersinia/src/dot1q.c
/* dot1q.c * Implementation and attacks for IEEE 802.1Q * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GN...
C/C++
yersinia/src/dot1q.h
/* dot1q.h * Definitions for IEEE 802.1Q * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Publi...
C
yersinia/src/dot1x.c
/* dot1x.c * Implementation and attacks for IEEE 802.1X * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GN...
C/C++
yersinia/src/dot1x.h
/* dot1x.h * Definitions for IEEE 802.1X * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Publi...
C
yersinia/src/dtp.c
/* dtp.c * Implementation and attacks for Cisco's Dynamic Trunking Protocol * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under...
C/C++
yersinia/src/dtp.h
/* dtp.h * Definitions for Cisco's Dynamic Trunking Protocol * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of t...
C/C++
yersinia/src/global.h
/* global.h * Global definitions and amazing splash ;) * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU...
C
yersinia/src/gtk-callbacks.c
/* gtk_callbacks.c * GTK Callbacks * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public Lice...
C/C++
yersinia/src/gtk-callbacks.h
/* gtk_callbacks.h * Definitions GTK callbacks * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General...
C
yersinia/src/gtk-gui.c
/* * Initial main.c file generated by Glade. Edit as required. * Glade will not overwrite this file. */ #ifdef HAVE_CONFIG_H # include <config.h> #endif #ifndef _REENTRANT #define _REENTRANT #endif #include <stdio.h> #include <errno.h> #include <sys/types.h> #include <sys/socket.h> #ifdef HAVE_NETINET_IN...
C/C++
yersinia/src/gtk-gui.h
/* gtk-gui.h * Definitions for the GTK GUI * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Pub...
C
yersinia/src/gtk-interface.c
/* gtk_interface.c * * GTK Interface setup * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Pu...
C/C++
yersinia/src/gtk-interface.h
/* gtk_interface.h * Definitions for GTK Interfaces * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Ge...
C
yersinia/src/gtk-support.c
/* gtk_support.c * GTK Support functions * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Publi...
C/C++
yersinia/src/gtk-support.h
/* gtk_support.h * Definitions for GTK Support * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General...
C
yersinia/src/hsrp.c
/* hsrp.c * Implementation and attacks for Cisco Hot Standby Router Protocol * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it unde...
C/C++
yersinia/src/hsrp.h
/* hsrp.h * Definitions for Cisco Hot Standby Router Protocol * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
C
yersinia/src/interfaces.c
/* interfaces.c * Network interface utilities and main core for capturing packets * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it...
C/C++
yersinia/src/interfaces.h
/* interfaces.h * Definitions for network interfaces and capturing packets * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under ...
C
yersinia/src/isl.c
/* isl.c * Implementation and attacks for Inter-Switch Link Protocol * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the te...
C/C++
yersinia/src/isl.h
/* isl.h * Definitions for ISL * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License...
yersinia/src/Makefile.am
AUTOMAKE_OPTIONS = no-dependencies DEFS = `$(LIBNET_CONFIG) --defines` @DEFS@ AM_CPPFLAGS = LIBS = @LIBS@ -lpcap -lnet bin_PROGRAMS = yersinia yersinia_SOURCES = xstp.c parser.c dtp.c dtp.h\ parser.h xstp.h global.h cdp.c cdp.h dhcp.c dhcp.h\ hsrp.h hsrp.c dot1q.h dot1q.c vtp.h vtp.c arp.h arp.c isl.h isl.c\ dot1x...
C
yersinia/src/md5-sum.c
/* md5_sum.c * Wrapper function for MD5 * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public...
C/C++
yersinia/src/md5-sum.h
/* md5_sum.h * Definitions for MD5 wrapper function * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Ge...
C
yersinia/src/md5.c
/* md5.c * This code implements the MD5 message-digest algorithm. * The algorithm is due to Ron Rivest. This code was * written by Colin Plumb in 1993, no copyright is claimed. * This code is in the public domain; do with it what you wish. * * Equivalent code is available from RSA Data Security, Inc. * This cod...
C/C++
yersinia/src/md5.h
#ifndef MD5_H #define MD5_H #ifdef SOLARIS typedef uint32_t u_int32_t; typedef uint16_t u_int16_t; typedef uint8_t u_int8_t; #endif struct MD5Context { u_int32_t buf[4]; u_int32_t bits[2]; unsigned char in[64]; }; void MD5Init(struct MD5Context *context); void MD5Update(struct MD5Context *context, unsigned char...
C
yersinia/src/mpls.c
/* mpls.c * Implementation and attacks for MultiProtocol Label Switching * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under th...
C/C++
yersinia/src/mpls.h
/* mpls.h * Definitions for MultiProtocol Label Switching * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the ...
C
yersinia/src/ncurses-callbacks.c
/* ncurses-callbacks.c * Implementation for ncurses callbacks * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
C/C++
yersinia/src/ncurses-callbacks.h
/* ncurses_callbacks.h * Definitions for the ncurses callbacks * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of...
C
yersinia/src/ncurses-gui.c
/* ncurses-gui.c * Implementation for ncurses GUI * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Gene...
C/C++
yersinia/src/ncurses-gui.h
/* ncurses-gui.h * Definitions for the ncurses GUI * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Gen...
C
yersinia/src/ncurses-interface.c
/* ncurses_interface.c * Implementation for ncurses interfaces * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of...
C/C++
yersinia/src/ncurses-interface.h
/* ncurses_iallbacks.h * Definitions for the ncurses interfaces * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms o...
C
yersinia/src/parser.c
/* parser.c * Main command line parser and parser utilities * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of th...
C/C++
yersinia/src/parser.h
/* parser.h * Definitions for command line parser and parser utilities * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the ...
C
yersinia/src/protocols.c
/* protocols.c * Protocols stuff * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public Licens...
C/C++
yersinia/src/protocols.h
/* protocols.h * Definitions for protocol stuff * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Genera...
C/C++
yersinia/src/terminal-defs.h
/* terminal-defs.h * Definitions for lot of things. It must be changed!! :( * * Yersinia * By David Barroso <tomac@yersinia.net> and Alfredo Andres <aandreswork@hotmail.com> * Copyright 2005-2017 Alfredo Andres and David Barroso * * This program is free software; you can redistribute it and/or * modify it under...