elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Trabajando con las ramas de git (tercera parte)


  Mostrar Temas
Páginas: 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 16 17 18 19
61  Programación / Programación C/C++ / Donde colocar los .lib en visual studio en: 14 Marzo 2017, 13:52 pm
Hola tengo una duda donde podría colocar los .lib en visual studio capturas:


62  Informática / Software / Lista de compiladores para empezar a programar en: 13 Marzo 2017, 05:38 am
Bueno muchas veces cuando empezamos a programar usamos un ide y pensamos que es el mismo programa pero detrás de cada ide se encuentra un compilador que basicamente es un programa informático que traduce un programa escrito en un lenguaje de programación a otro lenguaje diferente. Este proceso de traducción se conoce como compilación.

Aqui teneis una lista de compiladores para la mayoría de lenguajes de programación:

Ada
*Aonix ObjectAda for Windows : Aonix offers the windows version of their compiler as a free download (Win).
*AVL Ada9X 1.91 : Ada95 environment, featuring editor, interpreter, manual (DOS).
*ez2load : Free DOS Ada 95 compiler based on GNAT (DOS).


Assembly
*Alab 1.3 b1 : Alab stands for Assembly Laboratory, an assembly / watcom C IDE. Be careful though, it requires a third-party Assembler (such as TurboAsm - not included) (DOS).
*Arrowsoft Assembler 1.0D : Equivalent to MASM 3.0 (DOS).
DR Assembler Tools (RASM) v1.3 : Digital Research's assembler tools (DOS). (70.1kb)
*Flat Assembler (FASM) 1.42 : Fast, efficient self-assembling x86 assembler (DOS/Win/Linux).
Microsoft Macro Assembler (MASM) 5.10 : This is a pretty advanced version of a good assembler (DOS). (628kb)
*Netwide Assembler (NASM) 0.98 : A general-purpose open source x86 assembler. Includes disassembler (DOS/Win/Linux).
*NewBasic Assembler (NBASM) : Freeware, near MASM 5.1x compatible, visual IDE (DOS).
*Pass32 v2 : Free x86 Assembler for PMode Applications (DOS/Win).
Turbo Assembler (TASM) V2.0 : The most popular assembler by Borland. This version is rather old though (DOS). (478kb)
*Win 32 + Assembler : GoAsm, GoLink etc. Assembler tools for the 32 bit Win programmer (Win).


Basic
*ASIC 5.00 : A free BASICA/QBASIC compiler.
*MicroBasic 3.2 : Small compiler that produces COM + EXE files (DOS).
MS Quick Basic 4.5 : My favorite BASIC compiler. Very friendly environment (DOS). (895kb)
MS Visual Basic 3.0 : Be careful, the help files are not included (Win 3.x). (470kb)
*Phenix Object Basic : Object oriented basic for Linux (Linux).
*Rapid-Q : Cross-platform basic (Win/Linux...).
*ScriptBasic V1.0 : Create portable applications or even web application in Basic (Win/Linux).
*UBasic86 (32bit) v8.8c : High precision math-oriented BASIC interpreter (DOS).
*XBasic : 32/64bit BASIC interactive program development environment (Win/Linux).
*Yabasic 2.716 : Yet Another BASIC that implements the most common and simple elemets of the language (Win/Linux).


C / C++
// LOS MÁS IMPORTANTES EN C++//
*MinGW. Es un compilador similar al de GNU (GCC - GNU Compiler Collection) pero para windows.
*Visual Studio. Proviene de la familia Visual C++, es otro de los más utilizados por windows lanzado por microsoft.
*Cygwin. Es un entorno de desarrollo parecido a Unix y una interfaz en modo comando para Microsoft Windows.
/////////////////////////////////////////
*Borland Turbo: A solid C compiler. Register at the Borland site and download it for free (DOS).
*Digital Mars C/C++ Compliler v8.31 : Complete C / C++ compiler package (Win).
*DJGPP : Complete 32-bit C/C++ development system (DOS/Win)
*LadSoft cc386 2.06 : 32 bit ANSI C compiler with limited C++ support (DOS/Win).
*lcc 4.2 : A retargetable ANSI C compiler for most platforms (Win/Linux...).
*Pacific C Compiler : Freeware C Compiler (DOS).
*Sphinx C-- final : Sphinx C-- is a combination of C and 80x86 assembly language (DOS).
*Watcom C/C++ v11.0c : Complete multi-platform development environment (DOS/Win/OS2)


Cobol
*DOS COBOL v0.001alpha or Win32 ver : Small COBOL interpreter (DOS/Win).
MS COBOL V2.2 : Cobol is an old business oriented language that used to be extremely popular. Today it is only used by very few veteran programmers (DOS). (744kb)


D
*Digital Mars D Compliler : D was created as a C / C++ successor. It is still in Alpha stage of development (Win).

Eiffel
*iss-base 4 : Freeware version of a commercial compiler for the object-oriented Eiffel language (Win/Linux).
*SmartEiffel : Fast, small and open source Eiffel compiler. Outputs to C / Java (Win/any ANSI C environment).


Forth
*Pygmy Forth 1.5 : Fast direct-threaded Forth (DOS).

Fortran
BC Fortran 77 v1.3b : Compiler, linker, module library and resident run-time w/debugger (DOS). (181kb)
*F Compiler : You download via ftp compiler versions for many operating systems (Win/...)
Lahey Fortran 77 v3.0 : The Lahey is a well known F77 compiler, although this is an early version (DOS). (382kb)
Microsoft FORTRAN 5.1 : A good and well known compiler (DOS). (1.74MB)
*Watcom FORTRAN v11.0c : FORTRAN 77 development environment (DOS/Win/OS2)


Lisp / Scheme
Apteryx Lisp v1.031 : A windows 3.x Lisp compiler (Win 3.x). (212kb)
*newLISP 7.0.1 : newLISP is a compiler that has features of Common LISP and Scheme. It is still being developed (Win/Linux/Mac...).
*PC-Lisp v3.00 : Lisp stands for LISt Programming. It is considered suitable for AI. This compiler is not Object-Oriented like other compilers (XLisp etc) and is a subset of Franz Lisp (DOS).
*XLisp Plus v3.04 : This version supports most Common Lisp functions (DOS/Win).
XScheme v0.17 : An object-oriented implementation of the Scheme programming language, that lacks a good editor. Scheme is similar to, but simpler than Common Lisp (DOS). (163kb)
*Youtoo 0.93 : Yootoo is the latest EuLisp interpreter. EuLisp resembles to Lisp and it supports objects and parallel programming. Download from the ftp (Linux).
Logo
*DFP LOGO 1.2 : LOGO is a computer language designed to introduce young children to programming (DOS).
*LSRHS Free LOGO : Another LOGO interpreter (DOS).


Modula-2 / Modula-3
*Fitted Software Tools Modula-2 v3.1 : Modula-2 was designed by the creator of Pascal based on the experience and requests of PASCAL programmers (DOS).
*M3forDOS 3.1 : A DOS port for SRC Modula 3 (DOS).
*M3pc-Klangenfurt : Another DOS port for SRC Modula 3 (DOS).


Pascal
*Free Pascal V1.0.6 : A good (and free) Pascal compiler (DOS/Win/Linux...).
*Pascal Pro V0.1 : Requires TASM/MASM or NASM,TLINK32 and WDOSX or similar to produce executables (DOS).
*TMT Pascal Lite 3.90 : Fast 32 bit compiler. The DOS version is free to download. (DOS).
Turbo PASCAL 5.5 : A basic Pascal compiler (DOS).
*Virtual Pascal V2.1 : 32bit Pascal development environment (Win/OS2).


Perl
*ActivePerl 5.8 : Excellent Perl compiler. And you can't beat the price, since it is free (Win-Linux-Solaris).
Perl 4.0 : PERL - Practical Extraction Report Language - a very important and powerful script programming language (DOS). (175kb)


Prolog
BinProlog v2.20 : Prolog is a higher level language that leaves more to the compiler and simplifies the design of complex programs. This is an old but fast C-emulated compiler (DOS). (119kb)
Prolog-2 v2.35 : An MS-DOS version of prolog by Expert Systems (DOS). (149kb)
*Strawberry Prolog 2.3 : This is an excellent (and easy to use) Windows Prolog compiler. Unfortunatelly, the free (Light) Edition does not create .EXE files (Win 9x).
*Visual Prolog 6 : A complete PROLOG environment (Win).


Python
*Es un lenguaje interpretado luego utilizará un intérprete para implementar o ejecutar el código.

REXX
*BREXX 1.3 : REXX is a procedural language that allows programs and algorithms to be written in a clear and structured way (DOS/Linux). (267kb)
*Regina REXX : Regina REXX port for Win32 (Win).


Smalltalk
*Little Smalltalk v3 : Little Smalltalk is a subset of the Smalltalk object-oriented language (DOS).

Tcl
*ActiveTcl 8.4.1 : I don't know anything about Tcl, but judging from ActiveState's other products, the compiler should be very good (Win-Linux-Solaris).

xBase
*Harbour : Free xBase compiler (DOS/Win/Linux/OS2...).
*MAX 2.0 : Free xBase compiler (Win/Linux).


AutoIT
AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting.

Fuente:
Citar
lista-de-compiladores-gratuitos-(cientos-de-ellos), creador Ariel.
63  Programación / Programación C/C++ / Como solucionar estos errores de mi proyecto en: 12 Marzo 2017, 18:09 pm
Estoy usando openssl en el proyecto y openssl funciona y se añade correctamente, las librerias las tengo incluidas aqui:


Pero cuando voy a compilar mi proyecto me devuelve el siguiente error:
Código:
||=== Build: Debug in main (compiler: GNU GCC Compiler) ===|
C:\Users\Androide\Desktop\gloox\libgloox.a(clientbase.o):clientbase.cpp|| undefined reference to `FreeCredentialsHandle@4'|
C:\Users\Androide\Desktop\gloox\libgloox.a(clientbase.o):clientbase.cpp|| undefined reference to `DeleteSecurityContext@4'|
C:\Users\Androide\Desktop\gloox\libgloox.a(clientbase.o):clientbase.cpp|| undefined reference to `FreeCredentialsHandle@4'|
C:\Users\Androide\Desktop\gloox\libgloox.a(clientbase.o):clientbase.cpp|| undefined reference to `DeleteSecurityContext@4'|
C:\Users\Androide\Desktop\gloox\libgloox.a(clientbase.o):clientbase.cpp|| undefined reference to `AcquireCredentialsHandleW@36'|
C:\Users\Androide\Desktop\gloox\libgloox.a(clientbase.o):clientbase.cpp|| undefined reference to `InitializeSecurityContextA@48'|
||error: ld returned 1 exit status|
||=== Build failed: 7 error(s), 0 warning(s) (0 minute(s), 1 second(s)) ===|

Pienso a lo mejor se deba a que tengo que agregar otras librerías diferentes de openssl? El programa es el siguiente:
Código:
#include <client.h>
#include <messagehandler.h>
#include <message.h>
#include <presencehandler.h>
#include <connectionlistener.h>
#include <ctime>
#include <iostream>
#include <string>
using namespace std;
using namespace gloox;
//my one
const string LOGIN = "gmail.com";
ostream& operator<<(ostream& os, Message::MessageType type) {
    switch (type) {
        case Message::Chat:
            os << "Chat";
            break;
        case Message::Error:
            os << "Error";
            break;
        case Message::Groupchat:
            os << "Groupchat";
            break;
        case Message::Headline:
            os << "Headline";
            break;
        case Message::Normal:
            os << "Normal";
            break;
        case Message::Invalid:
            os << "Invalid";
            break;
        default:
            os << "unknown type";
            break;
    }
return os;
}

ostream& operator<<(ostream& os, const Message& stanza) {
    os << "type:'" << stanza.subtype() <<  "' from:'" << stanza.from().full() << "' body:'" << stanza.body() << "'";
    return os;
}

class Bot : public MessageHandler,
            /*public PresenceHandler,*/
            public ConnectionListener
            /*,public RosterListener*/{
 public:
   Bot(){
      JID jid( "mmaaria123@gmail.com/home" );
      client = new Client( jid, "mmaaria123" );
      client->registerConnectionListener( this );
      client->registerMessageHandler( this );
      client->connect(true);
   }

    virtual void onConnect() {
        cout << "It is connected good:)"  << endl;
        //sleep(5);
        client->disconnect();
    }

    virtual void onDisconnect(ConnectionError e) {
        cout << "ConnListener::onDisconnect() " << endl;
    }

    virtual bool onTLSConnect(const CertInfo& Info) {

       time_t tm = Info.date_from;
       time_t tm_to = Info.date_to;
       cout << "\t Certificate information to " << LOGIN << endl;
       cout << "\t========================================" << endl;
      // number code << "\tServer status: " << Info.status;
        if (Info.status !=0)
            {
            cout << "\t !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" << endl;
            cout << "\t !!!  The certificate has a problem !!!" << endl;
            cout << "\t !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" << endl;
            // parsing binary Status Cert
            if ((CertInvalid) & Info.status)
                {
                    cout << "\t- The certificate is not trusted " << endl;
                }
            if (( CertSignerUnknown) & Info.status)
                {
                    cout << "\t- The certificate hasn't got a kown issuer" << endl;
                }
            if ((CertRevoked) & Info.status)
                {
                    cout << "\t- The certificate has been revoked " << endl;
                }
            if ((CertExpired) & Info.status)
                {
                    cout << "\t- The certificate has expired " << endl;
                }
            if ((CertNotActive) & Info.status)
                {
                    cout << "\t- The certificate is not yet active " << endl;
                }
            if ((CertWrongPeer) & Info.status)
                {
                    cout << "\t- The certificate has not issued for the peer we're connected to " << endl;
                }
            if ((CertSignerNotCa) & Info.status)
                {
                    cout << "\t- The signer is not CA " << endl;
                }
            cout << endl;
            }
            // end parsing
        else
            // if Info.status=0 sertificate is valide
            cout << " *** Cert is OK!" << endl;

       cout << "\tChain: " << Info.chain << endl;
       cout << "\tIssuer: " << Info.issuer << endl;
       cout << "\tServer: " << Info.server << endl;
       cout << "\tCert date from: " << ctime(&tm);
       cout << "\tCert date to: " << ctime(&tm_to);
       cout << "\tProtocol: " << Info.protocol << endl;
       cout << "\tCipher: " << Info.cipher << endl;
       cout << "\tMAC: " << Info.mac << endl;
       cout << "\tCompression: " << Info.compression << endl;
       cout << "\t========================================" << endl;
     return true;

    }

   virtual void handleMessage( const Message& stanza,
                               MessageSession* session = 0 ){
     Message msg(Message::Chat, stanza.from(), "hello world" );
     client->send( msg );
   }

 private:
   Client* client;
};

int main( int argc, char* argv[] ){
    cout << "1" << endl;
    Bot b;
}

Gracias con antelacion.
64  Sistemas Operativos / Windows / ¿Windows 10 o windows 7 cual te gusta mas? en: 12 Marzo 2017, 15:26 pm
Windows 10 es más estable y windows 7 mucho más rapido y amigable. ¿Cuál pensais que es mejor?

Para mi el mejor era XP pero desde que no se puede actualizar los frameworks y dicen que es inseguro no cuenta para mi  :(
65  Programación / Programación C/C++ / Sacar numeros en medio de un array usando c++ en: 11 Marzo 2017, 05:38 am
Hola hay alguna de sacar de forma correcta y eficiente dos numeros que se encuentran en un array si yo conozco su máximo y su mínimo? El código sería del siguiente modo:
Código:
#include <iostream>
#include <sstream>
#include <vector>
using namespace std;

int num1,z,l,peque,grande;
int numero,division,resto,i,a,j;
int arr[4];
int mayor[4];
int menor[4];
int mayor1;
int fin = 0;
int menor1;
int contador = 0;

int prueba(int num){
    division = num;
    resto = num;

    for(i=0;i<=3;i++){
        resto = division%10;
        if(i==3){
            arr[i] = division;
        }else{
            arr[i] = resto;
        }
        division/=10;
    }
    int o,mini,maxi,u;


    mini=arr[0];
    maxi=mini;


    for(o=0;o<4;o++)
            {
            if (arr[o]<mini) mini=arr[o];
            if (arr[o]>maxi) maxi=arr[o];
            }

    peque = 0;

   
    mayor [0] = maxi;
    mayor [1] = grande;
    mayor [2] = peque;
    mayor [3] = mini;

    menor [0] = mini;
    menor [1] = peque;
    menor [2] = grande;
    menor [3] = maxi;

    stringstream ss;

    ss<<menor[0];   //this can be run as a loop
    ss<<menor[1];
    ss<<menor[2];
    ss<<menor[3];

    ss>>menor1;

    stringstream s;

    s<<mayor[0];   //this can be run as a loop
    s<<mayor[1];
    s<<mayor[2];
    s<<mayor[3];
    int con1,con2;
    con1=0;
    con2=0;
    s>>mayor1;
    fin = mayor1 - menor1;
}

int main(){
/* Declaramos el array y le damos valores */
    cout << "Introduce un numero: ";
    cin >> numero;
    fin = numero;
    while(fin!=6174){
        prueba(fin);
        break;
        cout << fin << " = " << mayor1 << " - " << menor1;
        cout << "\n";
        contador++;
    }
    cout << "Numero de intentos: " << contador;
    return 0;
}

Y para sacar el codigo de en medio supuestamente haria esto:
Código:
for(z=0;z<4;z++){
        num1=arr[z];
        if(arr[z] != mini || arr[z] != maxi){
            for(l=0;l<4;l++){
                if(arr[l]<num1 && arr[l] != maxi && arr[l] != mini){
                    peque=arr[l];
                    cout << peque;
                }else if(arr[l]>num1 && arr[l] != maxi && arr[l] != mini){
                    grande = arr[l];
                    cout << grande;
                }
            }
    }

Claro que cuando lo que cite anteriormente me repite los numeros muchas veces por lo que supongo que lo estaré haciendo mal. Hay alguna maneras de sacar los numeros de en medio. Tengo el numero 1234. Saque el máximo 4, el mínimo 1 pero como podría sacar el 2 y 3 por separado?
66  Seguridad Informática / Seguridad / estare mas seguro si uso un linux de anfitrion y un windows en virtual en: 9 Marzo 2017, 02:56 am
Hola tengo una pregunta ya que a veces me bajo programas entonces queria preguntar si uso un anfitrion en linux y supongamos que el exe solo infecta en windows el tio no lo ha hecho para linux pero estoy conectado a internet me podria infectar el disco anfitrion es decir los windows q tengo en disco por medio del virtual tambien si un antivirus pero el que hace virus lo hace para saltarse el antivirus entonces q me recomiendan es aconsejable o lo ideal cuando se arranca un ejecutable de rara procedencia es usar el anfitrion en linux o sino una maquina virtual sin conexion a internet y usarlo y luego devolver la maquina como estaba q m e aconsejan.
67  Programación / Ingeniería Inversa / Obtener la iat usando lordpe, olly y el location calculator duda en: 8 Marzo 2017, 15:55 pm
Hola estoy intentando obtener la IAT. El entry point de mi programa es el siguiente:



Y lordpe me indica que la tabla debería estar aquí:



Pero el calculator me muestra que empieza por 01000000.



Como podría sumar a mi entry point la direccion A048 que es donde se encuentra la IAT para encontrarla? Que posición me daría. Disculpar pero soy muy nuevo y no se muy como obtenerla.
68  Programación / Ingeniería Inversa / Porque no me sale la opcion integer address en olly en la ventana dump en: 8 Marzo 2017, 14:05 pm
Normalmente me aparecía una opcion integer address para ver la iat pero solo me salen las siguientes:

No puedo ver la direccion de los enteros pero si de otros tipos de numero.
Parece que es long -> address no sé porque el numero cambia de integer a long?
69  Foros Generales / Sugerencias y dudas sobre el Foro / Se puede poner codigo tipo spoiler en: 8 Marzo 2017, 04:07 am
Si hay un código largo se puede poner como spoiler es decir que se minimize y uno lo agrande creo que no se puede?
70  Programación / Ingeniería Inversa / Porque w32dasm me muestra el código en asm con simbolos en: 8 Marzo 2017, 03:24 am
Hola decompile el código y luego lo abro como proyecto pero me lo muestra con símbolos supongo que me lo mostrará en hex hay alguna manera de mostrarlo en asm o se tiene que mostrar en hex, foto:

Páginas: 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 16 17 18 19
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines