Menú

Mostrar Mensajes

Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.

Mostrar Mensajes Menú

Mensajes - Zentraedi

#41
Off Topic / Re:Escribiendo un compilador en vivo
Abril 22, 2018, 08:20:22 PM
Interesante, si tengo tiempo lo veo, éxitos con tu proyecto.

Enviado desde mi XT1034 mediante Tapatalk

#42
Muy bueno el post, me gusta mucho el tema y la explicación está muy bien, saludos.

Enviado desde mi XT1034 mediante Tapatalk

#43
Buenas noches a todos, queria consultarles si alguien me puede orientar mejor a como realizar esto, temgo mi codigo armado que relativamente "funciona", pero al iniciar el programa solo me crea la BD, no crea a tabla ni los PS o funciones, si pongo un punto de interrupccion y voy buscando linea por linea... crea todo perfecto, no se a que se debe esto ya que de una forma funciona (con punto de interrupcion) y de la que yo preciso no que seria al iniciar el programa. Les dejo aqui el codigo:

Citarprivate void frmMain_Load(object sender, EventArgs e)
        {
            try
            {
                SqlConnection Con = new SqlConnection("Data Source=.;Initial Catalog=SayHello;Integrated Security=True");
                You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login();
                string cmd = "SELECT Message FROM ES";
                SqlCommand comand = new SqlCommand(cmd, Con);
                SqlDataReader readComm = comand.ExecuteReader();

                if (readComm.Read())
                {
                    You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login("DB Load");
                }

              
                Con.Close();
            }
            catch
            {
                DataLayer.CreateDBinSQLserver DB = new DataLayer.CreateDBinSQLserver();
                DB.createDB();
                DB.createTablePS();
                DB.UtilizeFunction();
                You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login("DB creted");
            }
        }



Citar
namespace DataLayer
{

    public class CreateDBinSQLserver
    {


        public void createDB()
        {
            SqlConnection Con = new SqlConnection("Data Source=.;Initial Catalog=master;Integrated Security=True");

            You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login();

            string cmd = "USE master IF DB_ID('SayHello') IS NOT NULL BEGIN DROP DATABASE SayHello END";

            SqlCommand command = new SqlCommand(cmd, Con);

            command.ExecuteNonQuery();

            string cmd2 = "CREATE DATABASE SayHello";

            SqlCommand command2 = new SqlCommand(cmd2, Con);

            command2.ExecuteNonQuery();

            Con.Close();

        }

        public void createTablePS()
        {
            SqlConnection Con2 = new SqlConnection("Data Source=.;Initial Catalog=SayHello;Integrated Security=True");

            You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login();

            string cmdTables = "CREATE TABLE ENG(ID INT UNIQUE IDENTITY(1,1) NOT NULL, Message varchar(50) UNIQUE NOT NULL, PRIMARY KEY(ID)) CREATE TABLE ES(ID INT UNIQUE IDENTITY(1,1) NOT NULL, Message varchar(50) UNIQUE NOT NULL, PRIMARY KEY(ID), FOREIGN KEY(Message) REFERENCES ENG(Message)) CREATE TABLE JAP(ID INT UNIQUE IDENTITY(1,1) NOT NULL, Message varchar(50) UNIQUE NOT NULL, PRIMARY KEY(ID)) CREATE INDEX IN1 ON ENG (ID) CREATE INDEX IN2 ON ES (ID) CREATE INDEX IN3 ON JAP (ID)";

            SqlCommand command2 = new SqlCommand(cmdTables, Con2);

            command2.ExecuteNonQuery();

            string cmdINSERT = "INSERT INTO ENG (Message) values ('Hello world.'), ('New hello world.') INSERT INTO ES (Message) values ('Hello world.'), ('New hello world.') INSERT INTO JAP (Message) values ('Konnichiwa sekai'), ('Sekai haro futatabi')";

            SqlCommand commINS = new SqlCommand(cmdINSERT, Con2);

            commINS.ExecuteNonQuery();


                    string cmdPSins = "CREATE procedure Ins @message varchar(50) as INSERT into JAP (Message) values (@message)";

                    SqlCommand command3 = new SqlCommand(cmdPSins, Con2);

                     command3.ExecuteNonQuery();
                     

                    string cmdINN = "CREATE procedure msg @id int as SELECT E.Message, es.Message FROM ENG E inner join ES es on You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login = You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login";

                    SqlCommand command4 = new SqlCommand(cmdINN, Con2);

                    command4.ExecuteNonQuery();


                    string FUNCTION = "CREATE function ConvertMinAMayus(@Message varchar(50)) returns varchar(50) as begin return UPPER(@Message) END";

                    SqlCommand command5 = new SqlCommand(FUNCTION, Con2);

                    command5.ExecuteNonQuery();


            Con2.Close();
        }

        public void UtilizeFunction()
        {
            SqlConnection Con2 = new SqlConnection("Data Source=.;Initial Catalog=SayHello;Integrated Security=True");

            You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login();

             string PsFunc = "CREATE procedure UPandAllMayus @Message varchar(50), @id int as UPDATE JAP set Message=dbo.ConvertMinAMayus(@Message) where id=@id";

            SqlCommand command6 = new SqlCommand(PsFunc, Con2);

            command6.ExecuteNonQuery();
            Con2.Close();
        }
    }
}

Les agradezco cualquier tipo de ayuda, no se si debe estar mal hacer esto a travez de pocos metodos o si esta mal hacerlo de esta forma, desde ya gracias.
#44
Android / Re:FileEncrypt [APK] by Zentraedi
Marzo 10, 2017, 10:20:36 AM
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
dado tu conocimiento con android, es posible encriptar un .apk sin afectar su funcionalidad? por ejemplo androrat,ect
Hola, la verdad no lo se, no soy exerto en la tematica, estaba pensando probar lo que mencionas pero con bases de datos SQLite, perdon por no poder aclarar tu pregunta, esto fue una practica, aprendi a armar un encriptador (basico no tiene clave privada) y lo trate de hacer funcinal para android. Saludos.
#45
Android / FileEncrypt [APK] by Zentraedi
Marzo 06, 2017, 10:31:27 PM
Buenas, les dejo para el que quiera probar una aplicacion criptografica en android. Creada y diseñada por mi, espero sus criticad para seguir mejorando y aprendiendo.

Capturas de la app:











Download APK: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login


You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
#46
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
Si es para Xamarin, existe un libreria de Pago que es Compatible:


  • Rebex Zip -> You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login

Tienes una version trial por 30 dias, para usarlo.


Si quieres la libreria de pago enviame un mp, que creo que lo tenia.
Saludos.
Te envio mp.
#47
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
estamos hablando de algún lenguaje o que changos?, estoy perdido, ¿java? por fa' complementa un poco más la info y/o publícala en el apartado del foro que debe ir.


You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
La pregunta no esta bien clara, ya que no especificas para que lenguaje lo quieres, de cualquier forma por lo de "ZipFile.CreateFromDirectory",  estas usando el NameSpace System.IO.Compression de .NetFramework ??:

Si es así puedes optar por usar librerias de Terceros:


  • DotNetZip -> You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
  • SevenZipSharp -> You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
  • SharpCompress -> You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login

Saludos,.

Les pido disculpas tienen razon no he especificado bien todo.
Estoy utilizando C#... pero lo que necesito es para xamarin pense que seria como las demas librerias que funcionan de la misma forma pero no, por ejemplo DotNetZip no es compatible. Editare el post para no generar confuciones.
Igual probare las que me has pasado a ver si alguno funciona para xamarin. Gracias.
#48
Que tal compañeros? Les queria consultar si un tienen un poco mas de info sobre como comprimir un archivo a .zip o .rar con contraseña en C# estaba utilizando
ZipFile.CreateFromDirectory();
Pero este comprime directorios y no deja poner contraseña, necesito algo parecido pero para archivos. La contraseña seria lo de menos mientras comprima el archivo. Desde ya muchas gracias.
Lo que busco es para xamarin ya que librerias como DotNetZip no son compatibles.
#49
C# - VB.NET / Re:[C#] Aes File Encrypt/Decrypt
Noviembre 10, 2016, 10:40:47 PM
Muy bueno tu codigo, lo voy a probar tambien andaba en algo parecido :v jajaja saludos
#50
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
Yo hace poco descubrí "You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login".



La aplicación tiene ejemplos y referencias, ejemplos de programas, y compilador.
Incluye más de 18 lenguajes de programación.

Saludos
Gracias por responder amigo, la app esta muy buena, me gusto, pero no tiene lo que buscaba, no deja incorporar nuevas librerias ni ejecutar un codigo que presise conexion a internet.
Gracias igual, la app esta buena.
#51
Hola a todos, no se si esto deba ir aqui pero no encontre mejor lugar.
Queria consultarles si conocen alguna aplicacion android que permita compilar scripts en python o c# que permita utilizar internet. A lo que refiero con eso es si utilizo un codigo de webscrapping en python que pueda mostrarme el resultado y tambien añadir la libreria requerida. Desde ya muchas gracias.


Pd: vi en el taller de Python 1 que muestran una app asi pero no funciona el link de descarga y no logue encontrarla, solo el codigo de fuente de la app.
#52
Talleres Underc0de / Re:Taller de Python #1
Noviembre 03, 2016, 01:30:14 PM
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login

@You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login

Mira tu mail (el que usaste para registrarte).

Te lo envié.

Saludos

Gabriela
Descargado, muchas gracias @Gabriela
#53
Talleres Underc0de / Re:Taller de Python #1
Noviembre 02, 2016, 09:59:54 PM
Hola, estoy interesado en el taller, pero con mi telefono no he podido descargar el pdf, alguien puede subirlo a algun otro lado? El link funciona, pero nunca inicia ni termina la descarga, debe ser mi telefono que es viejo, desde ya gracias.
#54
Python / Re:Taller de web scrapping, consumo de apis, etc
Septiembre 12, 2016, 08:47:15 PM


You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
Fijate que te apsa lo mismo que a subzer, te está trayendo datos de mas
En tu caso, trae gabriela varias veces, debe ser porque hizo posts y salen aca: You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login

Si recien me doy cuenta de eso, se repiten varios usuarios, vere como resolverlo.
#55
Python / Re:Taller de web scrapping, consumo de apis, etc
Septiembre 12, 2016, 08:00:15 PM
Hoy pude conectarme e hice la tarea del taller jajaja
me costo mucho ya que no manejo python pero aqui esta

Código: text

import requests
import re
web = requests.get("https://underc0de.org/foro/index.php")
regexp = '<a href="https://underc0de.org/foro/profile/.*?">(.*?)</a>'
resultado = re.findall(regexp, web.text)
print resultado


gracias por la enseñanza muy interesante lo aprendido, espero que sigan las clases en este taller, Saludos.

PD: el codigo muestra en pantalla lo siguiente:
Código: text
[u'Gabriela', u'USER1696960', u'Gabriela', u'matitk', u'Stiuvert', u'Nobody', u'selohu', u'S@nde', u'str0nasfck', u'seth', u'unkdown', u'hati', u'circunsxik', u'cybervaca', u'else\xf1orx', u'EPSILON', u'JoanSerna', u'blackdrake', u'Stiuvert', u'Cl0udswX', u'Cl0udswX', u'Dr__Nesto', u'BadB0y_4', u'graphixx', u'cnfs', u'Expermicid', u'ExtaZys', u'Expermicid', u'79137913', u'Expermicid', u'Doddy', u'grep', u'Zentraedi', u'79137913', u'79137913', u'rollth', u'edgarito_2012', u'graphixx', u'ExtaZys', u'Expermicid', u'JJx', u'Subzer', u'graphixx', u'rush', u'ThePlus', u'79137913', u'Flame', u'DeBobiPro', u'Vasyyyl', u'DeBobiPro', u'Hu3c0', u'DeBobiPro', u'graphixx', u'graphixx', u'DeBobiPro', u'austro180', u'ANTRAX', u'Slenderhack', u'rreedd', u'PikachuDorado', u'DiegoTk', u'PikachuDorado', u'Uservzk80', u'Cygog', u'Digital Shadow', u'Cl0udswX', u'Satyricon', u'TioNacho', u'selohu', u'selohu', u'Subzer', u'else\xf1orx', u'Stiuvert', u'Stiuvert', u'Stiuvert', u'julianamorenot', u'79137913', u'po6xsecpo', u'voltage', u'fbian220', u'selohu', u'bridth', u'Subzer', u'Flamer', u'BlackBlex', u'ECVS', u'tondrax', u'matitk', u'rush', u'kronos.boca', u'Jimeno', u'Once', u'julianamorenot', u'Zentraedi', u'neodementor', u'ghro77', u'AJOP', u'ANTRAX', u'mingoandroid', u'cordobez10', u'pema94', u'Falsifikeitor', u'morodog', u'Maxfaider', u'Cr1m1n4l', u'jorge705', u's4ull', u'black magdala', u'TaylorSwift', u'nexusz', u'else\xf1orx', u'Stiuvert', u'noxonsoftwares', u'drotha2', u'ajcomputerses', u'VinC90', u'Kevin Howard', u'diosjeremy', u'adragon', u'3x0rt', u'Kzuma', u'puntoCL', u'roadd', u'zaphiel', u'zydar', u'dehombreadios', u'antoniocr', u'rosav', u'Bebeto', u'graphixx', u'alfred', u'Empty glass', u'Stuxnet', u'jambres', u'Ley20Mil', u'Tatoluckyfox', u'jasan1996', u'Carvachorum', u'jero433', u'DiegoTk', u'UnK', u'neuk', u'Gabriela', u'rollth', u'R.JimSor', u'blackdrake', u'iatsm', u'guilreto', u'Rony1545', u'ChitoEBM', u'manoverde', u'Vasyyyl', u'Hxgm', u'USER1696960', u'Unname', u'Jesuss', u'viagr4', u'roserrva', u'jose angel', u'Darksen', u'FUMATRONIC', u'Bishop', u'Lapazouhakcs', u'zahay', u'q3rv0', u'djbeat', u'cborgon', u'salem', u'koopa2', u'isaac_calvet', u'blueksyx', u'tesla', u'Kode', u'hum4n3xpl01t', u'dannekmr', u'mortico10', u'tito_chua', u'Forken', u'iamcholo', u'xavicibi', u'Joni2012', u'Chriseric', u'rab.', u'Yoskor', u'Cl0udswX', u'stegic', u'Keycarty', u'Nachoct', u'boguies', u'Slenderhack', u'jsDotx3', u'HomeGuard', u'Satyricon', u'aforistis', u'bruno45', u'coloradoxx', u'hati', u'pentestbox', u'harry_arg', u'M1ndCr4ck', u'ubbosatlahlk', u'gerard14', u'Bartrack', u'B4TB0YFUCK3R', u'DIANA YIRET', u'jonycancer', u'pirula01', u'BadB0y_4', u'kreator2178', u'Pytness', u'luff1', u'DarkMulero', u'guerraypaz46', u'Goyo', u'EvilSoft', u'glorytime', u'AnonimoArc', u'Zeroax', u'nansoft', u'yankele', u'marcxiri11', u'terminator2016', u'GOHANCKZ', u'linuxblt', u'zenzey909', u'Cronos', u'moonify', u'Valst', u'TR31N0RD', u'slashh865', u'judas6409', u'Adrian72112', u'beto_201', u'TheBeyonder', u'peleon02', u'djbob', u'Pricker', u'Cr4id3r', u'Alchemist', u'NyxKazuya', u'KR1ST4N', u'troki2011', u'inaki19899', u'lucas.dega', u'Byakko', u'ricci2diaz', u'santinho', u'zadeno3', u'ermaquina97', u'wblack', u'jfr4n', u'undercodeuser', u'srzeta', u'DarkXploitz', u'EnricCat', u'Blank', u'13tm3nt3r', u'ro0tmag', u'xxxcoenxxx', u'jsuarez1965', u'internauta', u'blanix', u'lamepie', u'wactor', u'rus1365', u'circunsxik']


hay una forma de quitar esa  u'(nombre de usuaruio), no pude quitar la u', pero al menos salio el objetivo, gracias.
#56
Python / Re:[Python] IPTools 1.0
Septiembre 12, 2016, 10:39:35 AM
Muy bueno, estaba queriendo hacer algo igual, gracias por compartir. Saludos.
#57
Bienvenido, aca otro argentino jaja saludos.
#58
Python / Re:Taller de web scrapping, consumo de apis, etc
Septiembre 07, 2016, 05:14:31 PM
Que tal, interesante lo que has compartido.
En el metodo search() estamos buscando un match, por lo que debemos saber de que esta rodeado y atrapar ese texto, al menos asi lo entendi.

Lo que no entendi es como el metodo findall() sabe que quiero ver los post y no la lista de usuarios?

En search() le aclaramos que queremos ver pero en findall() no se llega a explicar como sabe lo que quiero ver exactamente.

Perdon si es una pregunta muy basica.
#59
Estoy aprendiendo de a poco y no sabria como hacerlo, pero me suscribo como espectador, exitos con el taler.
#60
Interesante aporte, vere si hoy puedo ponerlo en practica, gracias por compartir. Saludos.