Salam, den nak kongsi dengan korang semuo satu tools untuk membantu programmer membuek coding.
Ni tagline dari website diorang :
llumination Software Creator allows anyone to create their own software applications… without writing a single line of “code”.
Macam best kan. Hehehe.. dan dah cubo guno.. agak poning gak sobab documentation eh macam hampeh. By the way.. nak download software ni korang kene gi kat sini : http://radicalbreeze.com/
Untuk post ni den akan kongsi buek satu simple application guno pythongtk.
Ni adolah paparan untuk interface. Sonang yo nak buek interface eh.. drag and drop yo. Masalah sikit sebab documentation dia tak lengkap sangat. So kena pandai-pandailah nak explore.
Lopeh tu kito buek la logic flow eh. Kat sini ada beberap option, kalau nak buek aplikasi yang bosar dan banyak logic flow memang tak sesuai la nak guno tools ni.
Lopeh dah siap leh la test run aplikasi kito tu :) Nice... Menggukan teknik penipuan.. hehehe.. den hanyo parse command kepado nmap dan paparkan result dalam mesej box. Poning pakcik dongan gtk ni. Tapi tools ni memudahkan nak buek UI la.
Ni tagline dari website diorang :
llumination Software Creator allows anyone to create their own software applications… without writing a single line of “code”.
Macam best kan. Hehehe.. dan dah cubo guno.. agak poning gak sobab documentation eh macam hampeh. By the way.. nak download software ni korang kene gi kat sini : http://radicalbreeze.com/
Untuk post ni den akan kongsi buek satu simple application guno pythongtk.
Ni adolah paparan untuk interface. Sonang yo nak buek interface eh.. drag and drop yo. Masalah sikit sebab documentation dia tak lengkap sangat. So kena pandai-pandailah nak explore.
Lopeh tu kito buek la logic flow eh. Kat sini ada beberap option, kalau nak buek aplikasi yang bosar dan banyak logic flow memang tak sesuai la nak guno tools ni.
Lopeh dah siap leh la test run aplikasi kito tu :) Nice... Menggukan teknik penipuan.. hehehe.. den hanyo parse command kepado nmap dan paparkan result dalam mesej box. Poning pakcik dongan gtk ni. Tapi tools ni memudahkan nak buek UI la.
Ni adolah coding longkap. Korang leh try la kalau nak :)
- #!/usr/bin/env python
- import pygtk
- pygtk.require('2.0')
- import gobject
- import random
- import os
- import gtk
- import os
- #EndImports
- class iscApp1:
- iscVoutput = ""
- iscVinput = ""
- iscWindow4Window1 = gtk.Window(gtk.WINDOW_TOPLEVEL)
- iscWindow4Window1Fixed = gtk.Fixed()
- iscWindow4Label0 =gtk.Label("SIMPLE TCP IP PORT SCANNER | by ghimau")
- iscWindow4Label20 =gtk.Label("*******************************************")
- iscWindow4Label30 =gtk.Label("Target IP :")
- iscWindow4TextBox0 = gtk.Entry()
- iscWindow4Button0 = gtk.Button("Mula Scan")
- iscWindow4Button10 = gtk.Button("Keluar Aplikasi")
- #EndOfGlobalVariables
- def main(self):
- gtk.main()
- def destroy(self, widget, data=None):
- gtk.main_quit()
- #EndOfClass
- def iscGetTextBox5():
- thisiscApp1.iscVinput = "nmap -sS -PN " + thisiscApp1.iscWindow4TextBox0.get_text() + " | findstr open"
- iscSystemScript2()
- #iscGetTextBox5Done
- def iscAppQuit6():
- thisiscApp1.destroy(None,None)
- #iscAppQuit6Done
- def iscMessageBox3():
- message = thisiscApp1.iscVoutput
- dialog = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_INFO, gtk.BUTTONS_NONE, message)
- dialog.add_button(gtk.STOCK_CLOSE, gtk.RESPONSE_CLOSE)
- dialog.run()
- #iscMessageBox3Open
- dialog.destroy()
- #iscMessageBox3Closed
- def iscWindow4():
- thisiscApp1.iscWindow4Label0 =gtk.Label("SIMPLE TCP IP PORT SCANNER | by ghimau")
- thisiscApp1.iscWindow4Label20 =gtk.Label("*******************************************")
- thisiscApp1.iscWindow4Label30 =gtk.Label("Target IP :")
- thisiscApp1.iscWindow4TextBox0 = gtk.Entry()
- thisiscApp1.iscWindow4Button0 = gtk.Button("Mula Scan")
- thisiscApp1.iscWindow4Button10 = gtk.Button("Keluar Aplikasi")
- thisiscApp1.iscWindow4Window1 = gtk.Window(gtk.WINDOW_TOPLEVEL)
- thisiscApp1.iscWindow4Window1Fixed = gtk.Fixed()
- thisiscApp1.iscWindow4Window1.set_title("Simple TCP Port Scanner ")
- thisiscApp1.iscWindow4Window1.set_default_size(303, 163)
- thisiscApp1.iscWindow4Window1.add(thisiscApp1.iscWindow4Window1Fixed)
- thisiscApp1.iscWindow4Window1Fixed.width = 303
- thisiscApp1.iscWindow4Window1Fixed.height = 163
- thisiscApp1.iscWindow4Window1.connect("delete_event", iscWindow4Closed)
- thisiscApp1.iscWindow4Window1Fixed.show()
- thisiscApp1.iscWindow4Window1Fixed.put(thisiscApp1.iscWindow4Label0, 38, 18)
- thisiscApp1.iscWindow4Label0.set_size_request(218, 12)
- thisiscApp1.iscWindow4Label0.show()
- thisiscApp1.iscWindow4Window1Fixed.put(thisiscApp1.iscWindow4Label20, 16, 37)
- thisiscApp1.iscWindow4Label20.set_size_request(277, 15)
- thisiscApp1.iscWindow4Label20.show()
- thisiscApp1.iscWindow4Window1Fixed.put(thisiscApp1.iscWindow4Label30, 21, 70)
- thisiscApp1.iscWindow4Label30.set_size_request(64, 12)
- thisiscApp1.iscWindow4Label30.show()
- thisiscApp1.iscWindow4Window1Fixed.put(thisiscApp1.iscWindow4TextBox0, 88, 64)
- thisiscApp1.iscWindow4TextBox0.set_text("")
- thisiscApp1.iscWindow4TextBox0.set_size_request(123, 23)
- thisiscApp1.iscWindow4TextBox0.connect("changed", iscWindow4TextBoxChanged)
- thisiscApp1.iscWindow4TextBox0.show()
- thisiscApp1.iscWindow4Window1Fixed.put(thisiscApp1.iscWindow4Button0, 25, 109)
- thisiscApp1.iscWindow4Button0.set_size_request(62, 27)
- thisiscApp1.iscWindow4Button0.connect("clicked", iscWindow4ButtonClicked)
- thisiscApp1.iscWindow4Button0.show()
- thisiscApp1.iscWindow4Window1Fixed.put(thisiscApp1.iscWindow4Button10, 93, 110)
- thisiscApp1.iscWindow4Button10.set_size_request(80, 26)
- thisiscApp1.iscWindow4Button10.connect("clicked", iscWindow4Button1Clicked)
- thisiscApp1.iscWindow4Button10.show()
- thisiscApp1.iscWindow4Window1.show()
- #iscWindow4Opened
- #iscWindow4Done
- def iscWindow4Closed(self, other):
- pass
- iscAppQuit6()
- #iscWindow4Closed
- def iscWindow4TextBoxChanged(self):
- pass
- #iscWindow4TextBoxChanged
- def iscWindow4ButtonClicked(self):
- pass
- iscGetTextBox5()
- #iscWindow4ButtonClicked
- def iscWindow4Button1Clicked(self):
- pass
- iscAppQuit6()
- #iscWindow4Button1Clicked
- def iscSystemScript2():
- # Leading spaces required as indent...
- thisiscApp1.iscVoutput=os.popen( thisiscApp1.iscVinput ).read()
- # Line below is where Output 1 is called...
- iscMessageBox3()
- # Leading spaces required as indent...
- thisiscApp1.iscVoutput=os.popen( thisiscApp1.iscVinput ).read()
- # Line below is where Output 1 is called...
- #iscSystemScript2Done
- #EndOfFunctions
- thisiscApp1 = iscApp1()
- iscWindow4()
- #iscApp1Launched
- #EndOfStatements
- thisiscApp1.main()
2 comments:
tools ni memang menarik lah,,
memang cun bro.. try la :)